Class: ROM::SQL::Postgres::Values::Path
- Inherits:
- 
      Struct
      
        - Object
- Struct
- ROM::SQL::Postgres::Values::Path
 
- Defined in:
- lib/rom/sql/extensions/postgres/types/geometric.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
| 17 18 19 | # File 'lib/rom/sql/extensions/postgres/types/geometric.rb', line 17 def points @points end | 
#type ⇒ Object
Returns the value of attribute type
| 17 18 19 | # File 'lib/rom/sql/extensions/postgres/types/geometric.rb', line 17 def type @type end | 
Instance Method Details
#closed? ⇒ Boolean
| 22 23 24 | # File 'lib/rom/sql/extensions/postgres/types/geometric.rb', line 22 def closed? type == :closed end | 
#open? ⇒ Boolean
| 18 19 20 | # File 'lib/rom/sql/extensions/postgres/types/geometric.rb', line 18 def open? type == :open end | 
#to_a ⇒ Object
| 26 27 28 | # File 'lib/rom/sql/extensions/postgres/types/geometric.rb', line 26 def to_a points end |