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) ⇒ Rtype::Behavior::TypedArray



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

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

Instance Method Details

#combRtype::Behavior::And



31
32
33
# File 'lib/rtype/behavior/core_ext.rb', line 31

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