Class: WMLAction::Tag::Attribute

Inherits:
Struct
  • Object
show all
Defined in:
lib/wml_action/tag.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name



10
11
12
# File 'lib/wml_action/tag.rb', line 10

def name
  @name
end

#valueObject

Returns the value of attribute value



10
11
12
# File 'lib/wml_action/tag.rb', line 10

def value
  @value
end

Instance Method Details

#to_s(indent = 0, dummy = 0) ⇒ Object



11
12
13
# File 'lib/wml_action/tag.rb', line 11

def to_s(indent=0, dummy=0)
  "#{name}=#{value}"
end