Methods

Files

Class/Module Index [+]

Quicksearch

ActiveRecord::DynamicMatchers

Public Instance Methods

respond_to?(method_id, include_private = false) click to toggle source
# File lib/active_record/dynamic_matchers.rb, line 3
def respond_to?(method_id, include_private = false)
  if match = DynamicFinderMatch.match(method_id)
    return true if all_attributes_exists?(match.attribute_names)
  elsif match = DynamicScopeMatch.match(method_id)
    return true if all_attributes_exists?(match.attribute_names)
  end

  super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.