lib/eventful/api.rb
def find_option(names, arguments, default = nil) #:nodoc:
      result = default
      names.each do |name|
        result = arguments[name] || arguments[name.to_s] || result
      end
      return result
    end
# Search through a method argument Hash for specified named parameters
Search through a method argument Hash for specified named parameters
Search through a method argument Hash for specified named parameters
def find_option(names, arguments, default = nil) 
      result = default
      names.each do |name|
        result = arguments[name] || arguments[name.to_s] || result
      end
      return result
    end
def find_option ( names , arguments , default = nil ) result = default names . each do | name | result = arguments [ name ] || arguments [ name . to_s ] || result end return result end
Search through a method argument Hash for specified named parameters
Search through a method argument Hash for specified named parameters
#:nodoc:
names
arguments
default