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.



69
70
71
72
# File 'lib/markdown-expander.rb', line 69

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

Instance Attribute Details

#expressionObject (readonly)

Returns the value of attribute expression.



68
69
70
# File 'lib/markdown-expander.rb', line 68

def expression
  @expression
end

#nodeObject (readonly)

Returns the value of attribute node.



67
68
69
# File 'lib/markdown-expander.rb', line 67

def node
  @node
end