Method: Clive::Type::Object#typecast

Defined in:
lib/clive/type/definitions.rb

#typecast(arg) ⇒ Object

Cast the arg (String) to the correct type.

Parameters:

  • arg (String)

    The value to be cast



20
21
22
# File 'lib/clive/type/definitions.rb', line 20

def typecast(arg)
  arg
end