Exception: IRB::CantChangeBinding

Inherits:
StandardError
  • Object
show all
Defined in:
lib/irb/lc/error.rb,
lib/irb/lc/ja/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(val) ⇒ CantChangeBinding

Returns a new instance of CantChangeBinding.



56
57
58
# File 'lib/irb/lc/error.rb', line 56

def initialize(val)
  super("Can't change binding to (#{val}).")
end