class Strings::TypeError

Public Class Methods

new(data) click to toggle source
Calls superclass method
# File lib/ruby/lambdas/strings/type_error.rb, line 3
def initialize(data)
  super("#{data.inspect} must be a String")
end