Class: PGTrunk::Operations::Enums::Base Abstract
- Inherits:
-
PGTrunk::Operation
- Object
- PGTrunk::Operation
- PGTrunk::Operations::Enums::Base
- Defined in:
- lib/pg_trunk/operations/enums/base.rb
Overview
This class is abstract.
Base class for operations with enumerated types
Direct Known Subclasses
Instance Method Summary collapse
-
#value(value) ⇒ Object
populate values one-by-one in a block.
Methods included from PGTrunk::Operation::SQLHelpers
Methods included from PGTrunk::Operation::RubyHelpers
#dump, #to_a, #to_opts, #to_ruby
Methods included from PGTrunk::Operation::Inversion
Methods included from PGTrunk::Operation::Validations
Methods included from PGTrunk::Operation::Attributes
Instance Method Details
#value(value) ⇒ Object
populate values one-by-one in a block
13 14 15 |
# File 'lib/pg_trunk/operations/enums/base.rb', line 13 def value(value) values << value.to_s end |