Class: MarkdownExpander::Expander::LoopStart

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, looper) ⇒ LoopStart

Returns a new instance of LoopStart.



72
73
74
75
# File 'lib/markdown_expander/expander.rb', line 72

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

Instance Attribute Details

#looperObject

Returns the value of attribute looper.



71
72
73
# File 'lib/markdown_expander/expander.rb', line 71

def looper
  @looper
end

#nameObject

Returns the value of attribute name.



71
72
73
# File 'lib/markdown_expander/expander.rb', line 71

def name
  @name
end