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
454 455 456 |
# File 'lib/rom/sql/extensions/postgres/types.rb', line 454 def points @points end |
#type ⇒ Object
Returns the value of attribute type
454 455 456 |
# File 'lib/rom/sql/extensions/postgres/types.rb', line 454 def type @type end |
Instance Method Details
#closed? ⇒ Boolean
459 460 461 |
# File 'lib/rom/sql/extensions/postgres/types.rb', line 459 def closed? type == :closed end |
#open? ⇒ Boolean
455 456 457 |
# File 'lib/rom/sql/extensions/postgres/types.rb', line 455 def open? type == :open end |
#to_a ⇒ Object
463 464 465 |
# File 'lib/rom/sql/extensions/postgres/types.rb', line 463 def to_a points end |