Class: Array

Inherits:
Object show all
Defined in:
lib/rtype/behavior/core_ext.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.of(type_sig) ⇒ Object



21
22
23
# File 'lib/rtype/behavior/core_ext.rb', line 21

def self.of(type_sig)
	::Rtype::Behavior::TypedArray.new(type_sig)
end

Instance Method Details

#combObject



25
26
27
# File 'lib/rtype/behavior/core_ext.rb', line 25

def comb
	::Rtype::Behavior::And[*self]
end