class SFRP::Poly::RecursiveError

Public Class Methods

new(node_strs) click to toggle source
# File lib/sfrp/poly/exception.rb, line 29
def initialize(node_strs)
  @node_strs = node_strs
end

Public Instance Methods

chain_str() click to toggle source
# File lib/sfrp/poly/exception.rb, line 33
def chain_str
  [*@node_strs, @node_strs[0]].join(' -> ')
end
message() click to toggle source
# File lib/sfrp/poly/exception.rb, line 37
def message
  "recursive node/function path: #{chain_str}"
end