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.



162
163
164
# File 'lib/markdown-expander.rb', line 162

def initialize expression
  @expression = expression
end

Instance Attribute Details

#expressionObject

Returns the value of attribute expression.



161
162
163
# File 'lib/markdown-expander.rb', line 161

def expression
  @expression
end