class FormObject::Context

Defined in:

form_object/context_collection.cr
form_object/context.cr

Constructors

Instance Method Summary

Instance methods inherited from class FormObject::IContext

append_field(field, value) append_field, collection(name : String) collection, object(name : String) object, set_field(field, value) set_field

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def append_field(field, value : T) forall T #

[View source]
def clear #

[View source]
def collection(name : String) #

[View source]
def collections : Hash(String, ContextCollection) #

[View source]
def each_collection(&block) #

[View source]
def each_field(&block) #

[View source]
def each_object(&block) #

[View source]
def object(name : String) #

[View source]
def objects : Hash(String, Context) #

[View source]
def properties : Hash(String, Any) #

[View source]
def set_field(field, value) #

[View source]