class Crinja::Callable::Instance

Included Modules

Defined in:

runtime/callable.cr

Constructors

Instance Method Summary

Instance methods inherited from module Crinja::Callable

call(arguments : Arguments) call, to_s(io) to_s

Constructor Detail

def self.new(proc : Crinja::Arguments -> Crinja::Value, defaults : Hash(String, Crinja::Value) = {} of String => Value, name : String? = nil) #

[View source]

Instance Method Detail

def call(arguments : Arguments) : Crinja::Value #

[View source]
def defaults : Variables #

[View source]
def name : String? #

[View source]
def proc : Proc #

[View source]