Exception: MarkdownExpander::Expander::ExpressionDrillDownError

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(node, expression) ⇒ ExpressionDrillDownError

Returns a new instance of ExpressionDrillDownError.



82
83
84
85
# File 'lib/markdown-expander.rb', line 82

def initialize node, expression
  @node = node
  @expression = expression
end

Instance Attribute Details

#expressionObject (readonly)

Returns the value of attribute expression.



81
82
83
# File 'lib/markdown-expander.rb', line 81

def expression
  @expression
end

#nodeObject (readonly)

Returns the value of attribute node.



80
81
82
# File 'lib/markdown-expander.rb', line 80

def node
  @node
end