class Ven::Suite::MBoxInstance
- Ven::Suite::MBoxInstance
- Ven::Suite::MClass
- Reference
- Object
Overview
An instance of a Ven box. Provides access to instance box's scope through fields.
Defined in:
ven/suite/model.crConstructors
Instance Method Summary
- #eqv?(other : MBox)
-
#eqv?(other : MBoxInstance)
XXX: stricten!
- #field(name)
- #parent : MBox
- #scope : Scope
- #scope=(scope : Scope)
- #to_s(io)
Instance methods inherited from class Ven::Suite::MClass
callable? : Bool
callable?,
eqv?(other : Model) : Bool
eqv?,
field(name : String) : Model | Nil
field,
is_bool_false? : Bool
is_bool_false?,
of?(other : MType) : Boolof?(other) of?, 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?, truth=(truth : Bool) truth=, truth? truth?
Constructor Detail
def self.new(parent : Ven::Suite::MBox, scope : Hash(String, Ven::Suite::MClass | Ven::Suite::MStruct))
#