module Parxer::ParserAttributes

Public Instance Methods

attribute_ids() click to toggle source
# File lib/parxer/parsers/concerns/attributes.rb, line 6
def attribute_ids
  attributes.map(&:id)
end
attributes() click to toggle source
# File lib/parxer/parsers/concerns/attributes.rb, line 10
def attributes
  @attributes ||= inherited_collection(self, :attributes, Parxer::Attributes)
end
find_attribute(attribute_name) click to toggle source
# File lib/parxer/parsers/concerns/attributes.rb, line 14
def find_attribute(attribute_name)
  attributes.find_attribute(attribute_name)
end