module MrbCast
Overview
Module for specific casts of Crystal values into mruby values
Defined in:
MrbCast.crClass Method Summary
- .return_bool(value)
- .return_false
- .return_fixnum(value)
- .return_float(mrb, value)
- .return_nil
- .return_string(mrb, value)
- .return_true
- .return_value(mrb : Pointer(MrbInternal::MrbState), value : Nil)
- .return_value(mrb : Pointer(MrbInternal::MrbState), value : Bool)
- .return_value(mrb : Pointer(MrbInternal::MrbState), value : Int)
- .return_value(mrb : Pointer(MrbInternal::MrbState), value : Float)
- .return_value(mrb : Pointer(MrbInternal::MrbState), value : String)
- .return_value(mrb : Pointer(MrbInternal::MrbState), value : Object)