Class: Marker::Argument
- Inherits:
-
ParseNode
- Object
- Treetop::Runtime::SyntaxNode
- ParseNode
- Marker::Argument
- Defined in:
- lib/marker/templates.rb
Instance Method Summary collapse
-
#name ⇒ Object
– defaults ++.
- #to_html(options = {}) ⇒ Object
- #to_s(options = {}) ⇒ Object
- #val ⇒ Object
Methods inherited from Treetop::Runtime::SyntaxNode
Instance Method Details
#name ⇒ Object
– defaults ++
96 97 98 |
# File 'lib/marker/templates.rb', line 96 def name #:nodoc: nil end |
#to_html(options = {}) ⇒ Object
87 88 89 |
# File 'lib/marker/templates.rb', line 87 def to_html( = {} ) to_s end |
#to_s(options = {}) ⇒ Object
91 92 93 |
# File 'lib/marker/templates.rb', line 91 def to_s( = {} ) ( name ? "'#{name}' => '#{val}'" : "'#{val}'" ) end |
#val ⇒ Object
100 101 102 |
# File 'lib/marker/templates.rb', line 100 def val nil end |