class Rus3::WrongTypeError

Public Class Methods

new(obj, expected) click to toggle source
Calls superclass method
# File lib/rus3/error.rb, line 122
def initialize(obj, expected)
  emsg = EMSG[:wrong_type] % [obj, expected]
  super(emsg)
end