Module: XMLable::Mixins::StandaloneAttribute::ClassMethods
- Defined in:
- lib/xmlable/mixins/standalone_attribute.rb
Instance Method Summary collapse
-
#__tag ⇒ String
private
Get attribute name/tag.
-
#attr_name(tag) ⇒ Object
Describe attribute name/tag.
Instance Method Details
#__tag ⇒ String
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Get attribute name/tag
28 29 30 |
# File 'lib/xmlable/mixins/standalone_attribute.rb', line 28 def __tag @__tag end |
#attr_name(tag) ⇒ Object
Describe attribute name/tag
17 18 19 |
# File 'lib/xmlable/mixins/standalone_attribute.rb', line 17 def attr_name(tag) @__tag = tag.to_s end |