class Context

Defined in:

context.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(keys : Hash(Symbol, String) = {} of Symbol => String) #

[View source]

Instance Method Detail

def [](key : Symbol) #

[View source]
def [](key : ContextKey) #

[View source]
def []=(key : Symbol, value : String) #

[View source]
def []=(key : ContextKey, value : String) #

[View source]
def keys : Hash(Symbol, String) #

[View source]
def keys=(keys : Hash(Symbol, String)) #

[View source]
def to_json(builder : JSON::Builder) #

[View source]