Class: Landline::PathContext
- Inherits:
-
Object
- Object
- Landline::PathContext
- Includes:
- DSL::PathConstructors, DSL::PathMethods
- Defined in:
- lib/landline/path.rb
Overview
Execution context for path setup block.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(path) ⇒ PathContext
constructor
A new instance of PathContext.
Methods included from DSL::PathMethods
#bounce, #filter, #handle, #index, #nobounce, #pipeline, #plugin, #postprocess, #preprocess, #remap, #root
Methods included from DSL::PathConstructors
#connect, #delete, #get, #head, #link, #options, #patch, #path, #post, #probe, #put, #register, #serve, #trace, #websocket
Constructor Details
#initialize(path) ⇒ PathContext
Returns a new instance of PathContext.
15 16 17 |
# File 'lib/landline/path.rb', line 15 def initialize(path) @origin = path end |