Class: ROM::SQL::Types::PG::Path
- Inherits:
-
Struct
- Object
- Struct
- ROM::SQL::Types::PG::Path
- Defined in:
- lib/rom/sql/extensions/postgres/types.rb
Instance Attribute Summary collapse
-
#points ⇒ Object
Returns the value of attribute points.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#points ⇒ Object
Returns the value of attribute points
285 286 287 |
# File 'lib/rom/sql/extensions/postgres/types.rb', line 285 def points @points end |
#type ⇒ Object
Returns the value of attribute type
285 286 287 |
# File 'lib/rom/sql/extensions/postgres/types.rb', line 285 def type @type end |
Instance Method Details
#closed? ⇒ Boolean
290 291 292 |
# File 'lib/rom/sql/extensions/postgres/types.rb', line 290 def closed? type == :closed end |
#open? ⇒ Boolean
286 287 288 |
# File 'lib/rom/sql/extensions/postgres/types.rb', line 286 def open? type == :open end |
#to_a ⇒ Object
294 295 296 |
# File 'lib/rom/sql/extensions/postgres/types.rb', line 294 def to_a points end |