Class: FixtureRecord::Sanitizable::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/fixture_record/sanitizable.rb

Instance Method Summary collapse

Instance Method Details

#cast(value) ⇒ Object



18
19
20
# File 'lib/fixture_record/sanitizable.rb', line 18

def cast(value)
  raise NotImplementedError.new "#cast must be defined in #{self.class.name} and it is not"
end