module Novika::ICapability

Overview

Instance-side (include) interface to a Novika capability. All capability instances must be compatible with this module.

Direct including types

Defined in:

novika/capability.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(capabilities) #

Instance Method Detail

def capabilities : CapabilityCollection #

Returns the collection this capability is a part of.


abstract def inject(into target : Block) #

Injects the vocabulary of this capability into the target block.