Class: MarkdownExpander::Expander::LoopStart

Inherits:
Object
  • Object
show all
Defined in:
lib/markdown-expander.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, expression) ⇒ LoopStart

Returns a new instance of LoopStart.



143
144
145
146
# File 'lib/markdown-expander.rb', line 143

def initialize name, expression
  @name = name
  @expression = expression
end

Instance Attribute Details

#expressionObject

Returns the value of attribute expression.



142
143
144
# File 'lib/markdown-expander.rb', line 142

def expression
  @expression
end

#nameObject

Returns the value of attribute name.



142
143
144
# File 'lib/markdown-expander.rb', line 142

def name
  @name
end