module Sthx::RuleCollection

Overview

Includers are an immutable collection of rules.

Direct including types

Defined in:

synthax/rule.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(rules : Array(Rule)) #

[View source]

Instance Method Detail

def with(rule : Rule) : self #

Returns a copy of this rule collection with rule added as one of the rules.


[View source]