struct DynFork::Globals::Types::Unit
- DynFork::Globals::Types::Unit
- Struct
- Value
- Object
Overview
Unit of information for choices
parameter in dynamic field types.
Included Modules
- JSON::Serializable
- JSON::Serializable::Strict
Defined in:
dynfork/globals/types.crConstructors
- .new(field : String, title : String, value : Float64 | Int64 | String, delete : Bool = false)
- .new(pull : JSON::PullParser)
Instance Method Summary
- #delete? : Bool
- #field : String
- #field? : String | Nil
- #title : String
- #title? : String | Nil
- #value : Float64 | Int64 | String
- #value? : Float64 | Int64 | String | Nil
Constructor Detail
def self.new(field : String, title : String, value : Float64 | Int64 | String, delete : Bool = false)
#