Method: Interval::Exception::Construction#initialize
- Defined in:
- lib/interval.rb
#initialize(array) ⇒ Construction
Returns a new instance of Construction.
797 798 799 800 801 802 |
# File 'lib/interval.rb', line 797 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 |