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) #

[View source]

Instance Method Detail

def capabilities : CapabilityCollection #

Returns the collection this capability is a part of.


[View source]
abstract def inject(into target : Block) #

Injects the vocabulary of this capability into the target block.


[View source]