Show
Ignore:
Timestamp:
07/04/08 01:52:44 (5 months ago)
Author:
shunirr
Message:

lang/ruby/citrus/trunk/plugin/http.rb: Defaultクラスが評価される順番を修正

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/citrus/trunk/plugins/http.rb

    r15137 r15138  
    2525                        h.new(self) 
    2626                end 
    27  
    28                 #@handlers << "Default" 
     27                @handlers.sort! do |a,b| 
     28                        0 
     29                        1 if a.class.to_s.include? 'Default' 
     30                end 
    2931        end 
    3032 
     
    4850                ret = nil 
    4951                @handlers.each do |handler| 
    50                         log handler.class 
    5152                        ret = handler.process(uri) 
    52                         #break if ret 
     53                        break if ret 
    5354                end 
    5455                if ret