class Array

Public Class Methods

of(type_sig) click to toggle source

@return [Rtype::Behavior::TypedArray]

# File lib/rtype/behavior/core_ext.rb, line 26
def self.of(type_sig)
        ::Rtype::Behavior::TypedArray.new(type_sig)
end

Public Instance Methods

comb() click to toggle source

@return [Rtype::Behavior::And]

# File lib/rtype/behavior/core_ext.rb, line 31
def comb
        ::Rtype::Behavior::And[*self]
end