module AccessibleAttributeMatcher

Constants

VERSION

Public Instance Methods

described_class() click to toggle source

simplify access to the described_class

# File lib/accessible_attribute_matcher.rb, line 17
def described_class
  @described_class ||= actual.class
end
role() click to toggle source

set the default role for accessible_attributes

# File lib/accessible_attribute_matcher.rb, line 12
def role
  @role ||= :default
end