Class: MarkdownExpander::Expander::IfStart

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(expression, operator, value) ⇒ IfStart

Returns a new instance of IfStart.



147
148
149
150
151
# File 'lib/markdown-expander.rb', line 147

def initialize expression, operator, value
  @expression = expression
  @operator = operator
  @value = value
end

Instance Attribute Details

#expressionObject

Returns the value of attribute expression.



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

def expression
  @expression
end

#operatorObject

Returns the value of attribute operator.



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

def operator
  @operator
end

#valueObject

Returns the value of attribute value.



146
147
148
# File 'lib/markdown-expander.rb', line 146

def value
  @value
end