Method: PDC::Resource::Attributes::ClassMethods#attribute_parser
- Defined in:
- lib/pdc/resource/attributes.rb
#attribute_parser(name) ⇒ Object
33 34 35 36 37 |
# File 'lib/pdc/resource/attributes.rb', line 33 def attribute_parser(name) # do not add to attributes of the class if not already present = .fetch(name, ) [:parser] end |