Exception: SFRP::Flat::NodeInvalidLastReferrenceError

Inherits:
CompileError
  • Object
show all
Defined in:
lib/sfrp/flat/exception.rb

Instance Method Summary collapse

Constructor Details

#initialize(node_str) ⇒ NodeInvalidLastReferrenceError

Returns a new instance of NodeInvalidLastReferrenceError.



36
37
38
# File 'lib/sfrp/flat/exception.rb', line 36

def initialize(node_str)
  @node_str = node_str
end

Instance Method Details

#messageObject



40
41
42
# File 'lib/sfrp/flat/exception.rb', line 40

def message
  "node '#{@node_str}' should be initialized"
end