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.



95
96
97
98
# File 'lib/markdown-expander.rb', line 95

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

Instance Attribute Details

#expressionObject

Returns the value of attribute expression.



94
95
96
# File 'lib/markdown-expander.rb', line 94

def expression
  @expression
end

#nameObject

Returns the value of attribute name.



94
95
96
# File 'lib/markdown-expander.rb', line 94

def name
  @name
end