Enumerize::Predicatable

Public Instance Methods

method_missing(method, *args, &block) click to toggle source
# File lib/enumerize/predicatable.rb, line 3
def method_missing(method, *args, &block)
  if boolean_method?(method)
    define_query_methods
    send(method, *args, &block)
  else
    super
  end
end
respond_to_missing?(method, include_private=false) click to toggle source
# File lib/enumerize/predicatable.rb, line 12
def respond_to_missing?(method, include_private=false)
  boolean_method?(method)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.