Class: Hyde::PathContext

Inherits:
Object
  • Object
show all
Includes:
DSL::PathConstructors, DSL::PathMethods
Defined in:
lib/hyde/path.rb

Overview

Execution context for path setup block.

Direct Known Subclasses

ServerContext

Instance Method Summary collapse

Methods included from DSL::PathMethods

#filter, #index, #plugin, #postprocess, #preprocess, #remap, #root

Methods included from DSL::PathConstructors

#connect, #delete, #get, #head, #options, #patch, #path, #post, #probe, #put, #register, #serve, #trace

Constructor Details

#initialize(path) ⇒ PathContext

Returns a new instance of PathContext.



25
26
27
# File 'lib/hyde/path.rb', line 25

def initialize(path)
  @origin = path
end