Changeset 6844

Show
Ignore:
Timestamp:
02/18/08 04:38:32 (5 years ago)
Author:
drry
Message:

lang/ruby/citrus/trunk/lib/citrus/core.rb:

  • コストダウン、高速化。[6843]
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/ruby/citrus/trunk/lib/citrus/core.rb

    r6843 r6844  
    152152                def call_plugins(name, args) 
    153153                        @plugins.each do |n, i| 
    154                                 if args[1] && args[1][/^[#+&!]/] # when channel 
     154                                if args[1] && [?#, ?+, ?&, ?!].include?(args[1][0]) # when channel 
    155155                                        channel  = args[1] 
    156156                                        config   = @config.plugins[n] || {}