Module: XMLable::Mixins::StandaloneElement::ClassMethods
- Defined in:
- lib/xmlable/mixins/standalone_element.rb
Instance Method Summary collapse
-
#__tag ⇒ String
private
Get tag name.
-
#tag(name) ⇒ Object
Describe element’s tag name.
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 tag name
41 42 43 |
# File 'lib/xmlable/mixins/standalone_element.rb', line 41 def __tag @__tag end |
#tag(name) ⇒ Object
Describe element’s tag name
30 31 32 |
# File 'lib/xmlable/mixins/standalone_element.rb', line 30 def tag(name) @__tag = name.to_s end |