class Var(T)

Defined in:

var/var.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(state : State, name : String, born : String, value : T | Nil = nil, builder : Proc(T) | Nil = nil) #

[View source]
def self.new(name : String, born : String, value : T | Nil) #

[View source]
def self.new(name : String, born : String) #

[View source]

Instance Method Detail

def born #

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

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

[View source]
def builder : Proc(T) #

[View source]
def builder=(builder : Proc(T)) #

[View source]
def get : T #

[View source]
def get? : T | Nil #

[View source]
def name #

[View source]
def state #

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

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

[View source]
def value=(v : T) : T #

[View source]
def value? : T | Nil #

[View source]