Show
Ignore:
Timestamp:
10/29/07 10:59:37 (6 years ago)
Author:
cho45
Message:

lang/ruby/Amalgam/plugins/debug_eval.rb,
lang/ruby/Amalgam/plugins/firefox.rb,
lang/ruby/Amalgam/AppController.rb:

どうも inspect でおちていたらしい。よくわからない

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/Amalgam/AppController.rb

    r800 r812  
    127127 
    128128        def reload 
    129                 [plugins, default_plugins].each do |p| 
    130                         p.reload.first.each do |c| 
     129                reloaded = [] 
     130                [self.plugins, self.default_plugins].each do |pl| 
     131                        pl.reload.first.each do |c| 
     132                                log c 
     133                                reloaded << c 
    131134                                plugins[c].init(@controller) 
    132135                        end 
    133136                end 
     137                reloaded 
     138        end 
     139 
     140        def inspect 
     141                "#<%s:%#08x>" % [self.class.to_s, self.object_id] 
    134142        end 
    135143end 
     
    199207                        rescue Exception => e 
    200208                                log e 
     209                                $stderr.puts e.backtrace 
    201210                                alert("Error", e.inspect) 
    202211                        end 
     
    432441        end 
    433442 
    434         def reload 
    435                 @config.reload 
    436         end 
    437  
    438  
    439 end 
    440  
    441  
     443end 
     444 
     445