Exception: Ephem::OutOfRangeError
- Inherits:
-
StandardError
- Object
- StandardError
- Ephem::OutOfRangeError
- Defined in:
- lib/ephem/error.rb
Instance Attribute Summary collapse
-
#out_of_range_times ⇒ Object
readonly
Returns the value of attribute out_of_range_times.
Instance Method Summary collapse
-
#initialize(message, out_of_range_times) ⇒ OutOfRangeError
constructor
A new instance of OutOfRangeError.
Constructor Details
#initialize(message, out_of_range_times) ⇒ OutOfRangeError
Returns a new instance of OutOfRangeError.
21 22 23 24 |
# File 'lib/ephem/error.rb', line 21 def initialize(, out_of_range_times) super() @out_of_range_times = out_of_range_times end |
Instance Attribute Details
#out_of_range_times ⇒ Object (readonly)
Returns the value of attribute out_of_range_times.
19 20 21 |
# File 'lib/ephem/error.rb', line 19 def out_of_range_times @out_of_range_times end |