Exception: Borel::Construction
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Borel::Construction
- Defined in:
- lib/borel/interval.rb
Instance Method Summary collapse
-
#initialize(array) ⇒ Construction
constructor
A new instance of Construction.
Constructor Details
#initialize(array) ⇒ Construction
Returns a new instance of Construction.
206 207 208 209 210 211 |
# File 'lib/borel/interval.rb', line 206 def initialize(array) super( "An interval can only be constructed either from at most two " \ "numbers or from a sequence of arrays of at most two numbers: " + array.inspect) end |