Class: WMLAction::Tag::Action
- Inherits:
-
Struct
- Object
- Struct
- WMLAction::Tag::Action
- Defined in:
- lib/wml_action/tag.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action
22 23 24 |
# File 'lib/wml_action/tag.rb', line 22 def action @action end |
#object ⇒ Object
Returns the value of attribute object
22 23 24 |
# File 'lib/wml_action/tag.rb', line 22 def object @object end |
Instance Method Details
#to_s(indent = 0, dummy = 0) ⇒ Object
23 24 25 |
# File 'lib/wml_action/tag.rb', line 23 def to_s(indent=0, dummy=0) "#{action} #{object.to_s(indent,0)}" end |