class Ven::Suite::MType
- Ven::Suite::MType
- Ven::Suite::MClass
- Reference
- Object
Overview
Ven's type data type. It represents other Ven data types.
Defined in:
ven/suite/model.crConstructors
Instance Method Summary
-
#==(arg)
Returns
false
(other can only be aValue
here). - #eqv?(other : MType)
- #name : String
- #to_s(io)
- #type : MStruct.class | MClass.class
-
#weight
Returns the weight (see
MWeight
) of this model.
Instance methods inherited from class Ven::Suite::MClass
[]=(referent : Model, value : Model) : Model | Nil
[]=,
[]?(index : Int)[]?(index : Range) []?, callable? : Bool callable?, eqv?(other : Model) : Bool eqv?, false? : Bool false?, field(name : String) : Model | Nil field, indexable? indexable?, length : Int32 length, match(other : Model) match, nth(index : Num)
nth(range : MRange)
nth(other) nth, of?(other : MType) : Bool
of?(other : MAny)
of?(other) of?, set_referent(referent : Model, value : Model) : Model set_referent, to_bool(inverse = false) : MBool to_bool, to_num : Num to_num, to_str : Str to_str, to_vec : Vec to_vec, true? : Bool true?, weight : MWeight weight
Constructor Detail
Instance Method Detail
def ==(arg)
#
Description copied from class Reference
Returns false
(other can only be a Value
here).
def weight
#
Description copied from class Ven::Suite::MClass
Returns the weight (see MWeight
) of this model.