struct DynFork::Globals::Types::Unit

Overview

Unit of information for choices parameter in dynamic field types.

Included Modules

Defined in:

dynfork/globals/types.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(field : String, title : String, value : Float64 | Int64 | String, delete : Bool = false) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]

Instance Method Detail

def delete? : Bool #

[View source]
def field : String #

[View source]
def field? : String | Nil #

[View source]
def title : String #

[View source]
def title? : String | Nil #

[View source]
def value : Float64 | Int64 | String #

[View source]
def value? : Float64 | Int64 | String | Nil #

[View source]