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.



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

def initialize expression
  @expression = expression
end

Instance Attribute Details

#expressionObject

Returns the value of attribute expression.



159
160
161
# File 'lib/markdown-expander.rb', line 159

def expression
  @expression
end