Class: Temporal::ArrayOfRanges

Inherits:
Array show all
Defined in:
lib/temporals/types.rb

Class Method Summary collapse

Methods inherited from Array

#include_value?, #includes_sequence?

Class Method Details

.new(*values) ⇒ Object



3
4
5
6
7
# File 'lib/temporals/types.rb', line 3

def self.new(*values)
  n = allocate
  n.push(*values)
  n
end