Changeset 14184 for platform/tdiary/util

Show
Ignore:
Timestamp:
06/17/08 22:46:43 (5 months ago)
Author:
hsbt
Message:

indent.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • platform/tdiary/util/rast-search/rast-register.rb

    r12259 r14184  
    121121                end 
    122122 
    123                 def cache_path 
    124                         @conf.cache_path || "#{@conf.data_path}cache" 
    125                 end 
     123                def cache_path 
     124                        @conf.cache_path || "#{@conf.data_path}cache" 
     125                end 
    126126 
    127127                def db_path 
     
    142142                        @diaries = {@date.strftime('%Y%m%d') => @diary} if @diaries.empty? 
    143143                        @plugin = ::TDiary::Plugin::new( 
    144                                                         'conf' => @conf, 
    145                                                         'cgi' => @cgi, 
    146                                                         'cache_path' => cache_path, 
    147                                                         'diaries' => @diaries 
    148                                                         ) 
     144                                'conf' => @conf, 
     145                                'cgi' => @cgi, 
     146                                'cache_path' => cache_path, 
     147                                'diaries' => @diaries 
     148                                ) 
    149149                        def @plugin.apply_plugin_alt( str, remove_tag = false ) 
    150150                                apply_plugin( str, remove_tag ) 
     
    293293                conf.show_nyear = false 
    294294                def conf.bot?; true; end 
    295          
     295 
    296296                diary = @diaries[@date.strftime('%Y%m%d')] 
    297297                encoding = 'utf8'