Class: Magiq::Types::String

Inherits:
Type
  • Object
show all
Defined in:
lib/magiq/types.rb

Instance Attribute Summary

Attributes inherited from Type

#raw

Instance Method Summary collapse

Methods inherited from Type

cast, #initialize

Constructor Details

This class inherits a constructor from Magiq::Types::Type

Instance Method Details

#cast!Object



46
47
48
# File 'lib/magiq/types.rb', line 46

def cast!
  raw == nil ? nil : raw.to_s
end