Class: MarkdownExpander::Expander::LoopStart
- Inherits:
-
Object
- Object
- MarkdownExpander::Expander::LoopStart
- Defined in:
- lib/markdown-expander.rb
Instance Attribute Summary collapse
-
#expression ⇒ Object
Returns the value of attribute expression.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name, expression) ⇒ LoopStart
constructor
A new instance of LoopStart.
Constructor Details
#initialize(name, expression) ⇒ LoopStart
Returns a new instance of LoopStart.
95 96 97 98 |
# File 'lib/markdown-expander.rb', line 95 def initialize name, expression @name = name @expression = expression end |
Instance Attribute Details
#expression ⇒ Object
Returns the value of attribute expression.
94 95 96 |
# File 'lib/markdown-expander.rb', line 94 def expression @expression end |
#name ⇒ Object
Returns the value of attribute name.
94 95 96 |
# File 'lib/markdown-expander.rb', line 94 def name @name end |