Changeset 219
- Timestamp:
- 09/24/2007 04:38:35 (14 months ago)
- Files:
-
- 1 modified
-
trunk/lib/camping-unabridged.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/lib/camping-unabridged.rb
r218 r219 73 73 # ActiveRecord::Schema.define do 74 74 # create_table :blog_posts, :force => true do |t| 75 # t.column :id, :integer, :null => false76 75 # t.column :user_id, :integer, :null => false 77 76 # t.column :title, :string, :limit => 255 … … 84 83 # For more tips, see http://code.whytheluckystiff.net/camping/wiki/GiveUsTheCreateMethod. 85 84 module Camping 86 # Stores an +Array+ of all Camping applications modules. Modules are added87 # automatically by +Camping.goes+.88 #89 # Camping.goes :Blog90 # Camping.goes :Tepee91 # Camping::Apps # => [Blog, Tepee]92 #93 85 C = self 94 f=__FILE__ 95 S = IO.read(f) unless f =~ /\(/ 96 P="Cam\ping Problem!" 97 86 S = IO.read(__FILE__) rescue nil 87 P = "Cam\ping Problem!" 98 88 H = HashWithIndifferentAccess 99 89 # An object-like Hash, based on ActiveSupport's HashWithIndifferentAccess.
