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.



46
47
48
# File 'lib/irb/lc/error.rb', line 46

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