Exception: Tcl::Ruby::TclVariableNotFoundError
- Defined in:
- lib/tcl/ruby/error.rb
Overview
def initialize(msg)
super("wrong \# args: should be\"#{msg}\"")
end
Instance Method Summary collapse
-
#initialize(var, type = '') ⇒ TclVariableNotFoundError
constructor
A new instance of TclVariableNotFoundError.
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 |