Exception: Tcl::Ruby::TclVariableNotFoundError

Inherits:
TclError
  • Object
show all
Defined in:
lib/tcl/ruby/error.rb

Overview

def initialize(msg)

super("wrong \# args: should be\"#{msg}\"")

end

Instance Method Summary collapse

Constructor Details

#initialize(var, type = '') ⇒ TclVariableNotFoundError

Returns a new instance of TclVariableNotFoundError.



12
13
14
# File 'lib/tcl/ruby/error.rb', line 12

def initialize(var, type = '')
  super("can't read \"#{var}\": #{type}")
end