module XMLable::Handlers::Mixins::Tag
Tag
module contains tagable handlers
Attributes
tag[R]
@return [String] returns XML object tag name
Public Class Methods
new(*args, &block)
click to toggle source
@see XMLable::Handler::Base#intialize
Calls superclass method
# File lib/xmlable/handlers/mixins/tag.rb, line 14 def initialize(*args, &block) super if args.last.is_a?(Hash) @tag = args.last.delete(:tag) @tag = @tag ? @tag.to_s : @name end end