class Pione::Lang::RebindError
RebindError
is raised when we try to rebind some value in variable table, param table, or rule table.
Public Class Methods
new(ref)
click to toggle source
# File lib/pione/lang/lang-exception.rb, line 120 def initialize(ref) @ref = ref end
Public Instance Methods
message()
click to toggle source
# File lib/pione/lang/lang-exception.rb, line 124 def message "try to rebind %s in package &%s%s" % [name, @ref.package_id, @ref.pos.format] end