class FormObject::ContextCollection

Defined in:

form_object/context_collection.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 [](*args, **options) #

[View source]
def [](*args, **options, &block) #

[View source]
def append_field(field, value : T) forall T #

[View source]
def bucket : Array(FormObject::Context) #

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

[View source]
def current_object #

[View source]
def each_context(&block) #

[View source]
def empty?(*args, **options) #

[View source]
def empty?(*args, **options, &block) #

[View source]
def next_object #

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

[View source]
def object_for(field : String) #

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

[View source]
def size(*args, **options) #

[View source]
def size(*args, **options, &block) #

[View source]