Module: Contracts

Defined Under Namespace

Classes: And, Any, Args, ArrayOf, Bool, Callable, Exactly, Frozen, HashOf, ImmutableHashOf, ImmutableSetOf, IsA, Maybe, Neg, None, Not, Num, OldResourceList, Or, Pos, ResourceList, RespondTo, Send, SetOf, VectorOf, Xor

Constant Summary collapse

ImmutableSortedSetOf =
Contracts::CollectionOf::Factory.new(::Hamster::SortedSet)
PATH_MATCHER =
Or[String, RespondTo[:match], RespondTo[:call], RespondTo[:to_s]

Instance Method Summary collapse

Instance Method Details

#ContractObject

rubocop:disable Naming/MethodName


59
# File 'middleman-core/lib/middleman-core/contracts.rb', line 59

def Contract(*); end