Module: Contracts

Defined Under Namespace

Classes: And, Any, Args, ArrayOf, Bool, Callable, Exactly, Frozen, HashOf, IsA, Maybe, Neg, None, Not, Num, 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 MethodName



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

def Contract(*); end