Module: ONIX::Inflector
- Included in:
- Complexity, DiscountCoded, ProductIdentifier, RelatedProduct, WorkIdentifier
- Defined in:
- lib/onix/inflector.rb
Instance Method Summary collapse
Instance Method Details
#attributes ⇒ Object
10 11 12 |
# File 'lib/onix/inflector.rb', line 10 def attributes public_methods.map {|meth| meth.match(/^(?!roxml|taguri|=)(.+)=$/) ? $1 : nil }.compact end |
#initialize(options = {}) ⇒ Object
6 7 8 |
# File 'lib/onix/inflector.rb', line 6 def initialize( = {}) initialize_attributes() end |