Class: MarkdownExpander::Expander::IfStart
- Inherits:
-
Object
- Object
- MarkdownExpander::Expander::IfStart
- Defined in:
- lib/markdown-expander.rb
Instance Attribute Summary collapse
-
#expression ⇒ Object
Returns the value of attribute expression.
-
#operator ⇒ Object
Returns the value of attribute operator.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(expression, operator, value) ⇒ IfStart
constructor
A new instance of IfStart.
Constructor Details
#initialize(expression, operator, value) ⇒ IfStart
Returns a new instance of IfStart.
153 154 155 156 157 |
# File 'lib/markdown-expander.rb', line 153 def initialize expression, operator, value @expression = expression @operator = operator @value = value end |
Instance Attribute Details
#expression ⇒ Object
Returns the value of attribute expression.
150 151 152 |
# File 'lib/markdown-expander.rb', line 150 def expression @expression end |
#operator ⇒ Object
Returns the value of attribute operator.
151 152 153 |
# File 'lib/markdown-expander.rb', line 151 def operator @operator end |
#value ⇒ Object
Returns the value of attribute value.
152 153 154 |
# File 'lib/markdown-expander.rb', line 152 def value @value end |