Class: StrongCSV::Types::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/strong_csv/types/base.rb

Overview

Base class for all types.

Direct Known Subclasses

Boolean, Float, Integer, Optional, String, Time, Union

Instance Method Summary collapse

Instance Method Details

#cast(_value) ⇒ Object

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/strong_csv/types/base.rb', line 7

def cast(_value)
  raise NotImplementedError
end