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.



114
115
116
# File 'lib/markdown-expander.rb', line 114

def initialize expression
  @expression = expression
end

Instance Attribute Details

#expressionObject

Returns the value of attribute expression.



113
114
115
# File 'lib/markdown-expander.rb', line 113

def expression
  @expression
end