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, looper) ⇒ LoopStart

Returns a new instance of LoopStart.



77
78
79
80
# File 'lib/markdown-expander.rb', line 77

def initialize name, looper
  @name = name
  @looper = looper
end

Instance Attribute Details

#looperObject

Returns the value of attribute looper.



76
77
78
# File 'lib/markdown-expander.rb', line 76

def looper
  @looper
end

#nameObject

Returns the value of attribute name.



76
77
78
# File 'lib/markdown-expander.rb', line 76

def name
  @name
end