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

PATH_MATCHER =
Or[String, RespondTo[:match], RespondTo[:call], RespondTo[:to_s]

Instance Method Summary collapse

Instance Method Details

#ContractObject

rubocop:disable Naming/MethodName



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

def Contract(*); end