Exception: Tros::TrosTypeError
- Defined in:
- lib/tros.rb
Instance Method Summary collapse
-
#initialize(schm = nil, datum = nil, msg = nil) ⇒ TrosTypeError
constructor
A new instance of TrosTypeError.
Constructor Details
#initialize(schm = nil, datum = nil, msg = nil) ⇒ TrosTypeError
Returns a new instance of TrosTypeError.
28 29 30 31 |
# File 'lib/tros.rb', line 28 def initialize(schm=nil, datum=nil, msg=nil) msg ||= "Not a #{schm.to_s}: #{datum}" super(msg) end |