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.



41
42
43
# File 'lib/irb/lc/error.rb', line 41

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