class School::Accessor

Overview

An accessor.

Wraps a method call or other operation, implemented as a block.

Included Modules

Defined in:

school/rule/expression.cr

Constructors

Instance Method Summary

Instance methods inherited from class School::Expression

name name, name? : String? name?

Constructor Detail

def self.new(&block : Bindings -> DomainTypes | Nil) #

[View source]

Instance Method Detail

def call(bindings : Bindings) : DomainTypes | Nil #

Calls the block, passing in the current bindings.


[View source]