Module: NSWTopo::Spot::Candidate
- Defined in:
- lib/nswtopo/layer/spot.rb
Defined Under Namespace
Modules: PreferKnolls, PreferNeither, PreferSaddles
Instance Attribute Summary collapse
-
#conflicts ⇒ Object
Returns the value of attribute conflicts.
-
#elevation ⇒ Object
Returns the value of attribute elevation.
-
#knoll ⇒ Object
Returns the value of attribute knoll.
Instance Method Summary collapse
Instance Attribute Details
#conflicts ⇒ Object
Returns the value of attribute conflicts.
44 45 46 |
# File 'lib/nswtopo/layer/spot.rb', line 44 def conflicts @conflicts end |
#elevation ⇒ Object
Returns the value of attribute elevation.
44 45 46 |
# File 'lib/nswtopo/layer/spot.rb', line 44 def elevation @elevation end |
#knoll ⇒ Object
Returns the value of attribute knoll.
44 45 46 |
# File 'lib/nswtopo/layer/spot.rb', line 44 def knoll @knoll end |
Instance Method Details
#<=>(other) ⇒ Object
58 59 60 |
# File 'lib/nswtopo/layer/spot.rb', line 58 def <=>(other) self.ordinal <=> other.ordinal end |