module XMLable::Mixins::StandaloneAttribute::ClassMethods

Public Instance Methods

__tag() click to toggle source

Get attribute name/tag

@api private

@return [String]

# File lib/xmlable/mixins/standalone_attribute.rb, line 28
def __tag
  @__tag
end
attr_name(tag) click to toggle source

Describe attribute name/tag

@param [String, Symbol] tag

# File lib/xmlable/mixins/standalone_attribute.rb, line 17
def attr_name(tag)
  @__tag = tag.to_s
end