Class: IntervalNotation::BasicIntervals::BoundaryPoint
- Inherits:
-
Struct
- Object
- Struct
- IntervalNotation::BasicIntervals::BoundaryPoint
- Defined in:
- lib/interval_notation/basic_intervals.rb
Overview
Auxiliary class to represent information about interval boundaries
Instance Attribute Summary collapse
-
#included ⇒ Object
Returns the value of attribute included.
-
#interval_boundary ⇒ Object
Returns the value of attribute interval_boundary.
-
#interval_index ⇒ Object
Returns the value of attribute interval_index.
-
#opening ⇒ Object
Returns the value of attribute opening.
-
#value ⇒ Object
Returns the value of attribute value.
Instance Method Summary collapse
Instance Attribute Details
#included ⇒ Object
Returns the value of attribute included
7 8 9 |
# File 'lib/interval_notation/basic_intervals.rb', line 7 def included @included end |
#interval_boundary ⇒ Object
Returns the value of attribute interval_boundary
7 8 9 |
# File 'lib/interval_notation/basic_intervals.rb', line 7 def interval_boundary @interval_boundary end |
#interval_index ⇒ Object
Returns the value of attribute interval_index
7 8 9 |
# File 'lib/interval_notation/basic_intervals.rb', line 7 def interval_index @interval_index end |
#opening ⇒ Object
Returns the value of attribute opening
7 8 9 |
# File 'lib/interval_notation/basic_intervals.rb', line 7 def opening @opening end |
#value ⇒ Object
Returns the value of attribute value
7 8 9 |
# File 'lib/interval_notation/basic_intervals.rb', line 7 def value @value end |
Instance Method Details
#closing ⇒ Object
8 9 10 |
# File 'lib/interval_notation/basic_intervals.rb', line 8 def closing !opening end |