Module: Contracts
- Included in:
- Middleman::Application, Middleman::Builder, Middleman::CallbackManager, Middleman::CoreExtensions::Data::DataStore, Middleman::CoreExtensions::InlineURLRewriter, Middleman::CoreExtensions::InlineURLRewriter::Rack, Middleman::Extension, Middleman::Extensions::MinifyCss::Rack, Middleman::Extensions::MinifyJavascript::Rack, Middleman::FileRenderer, Middleman::Sitemap::Resource, Middleman::Sitemap::Store, Middleman::SourceWatcher, Middleman::Sources, Middleman::TemplateContext, Middleman::TemplateRenderer, Middleman::Util, Middleman::Util::Data
- Defined in:
- lib/middleman-core/contracts.rb,
lib/middleman-core/contracts.rb,
lib/middleman-core/contracts.rb
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
-
#Contract ⇒ Object
rubocop:disable MethodName.
Instance Method Details
#Contract ⇒ Object
rubocop:disable MethodName
31 32 |
# File 'lib/middleman-core/contracts.rb', line 31 def Contract(*) end |