Changeset 5171 for platform/tdiary/spec
- Timestamp:
- 01/21/08 18:36:54 (10 months ago)
- Files:
-
- 1 modified
-
platform/tdiary/spec/spec_helper.rb (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
platform/tdiary/spec/spec_helper.rb
r4983 r5171 10 10 11 11 def initialize 12 @conf = {}12 @conf = Config.new 13 13 @mode = "" 14 14 @header_procs = [] … … 31 31 end 32 32 33 class Config 34 def initialize 35 @options = {} 36 @options2 = {} 37 end 38 39 def []( key ) 40 @options[key] 41 end 42 43 def []=( key, val ) 44 @options2[key] = @options[key] = val 45 end 46 47 def delete( key ) 48 @options.delete( key ) 49 @options2.delete( key ) 50 end 51 52 def base_url 53 begin 54 if @options['base_url'].length > 0 then 55 return @options['base_url'] 56 end 57 rescue 58 end 59 end 60 end 33 61 end 34 62 def fake_plugin( name_sym, base=nil, &block )
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)