Class: MarkdownExpander::Expander::Expression

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(expression) ⇒ Expression

Returns a new instance of Expression.



156
157
158
# File 'lib/markdown-expander.rb', line 156

def initialize expression
  @expression = expression
end

Instance Attribute Details

#expressionObject

Returns the value of attribute expression.



155
156
157
# File 'lib/markdown-expander.rb', line 155

def expression
  @expression
end