Class: Pipeable::Builder
- Inherits:
-
Module
- Object
- Module
- Pipeable::Builder
- Defined in:
- lib/pipeable/builder.rb
Overview
Defines the pipe and and associated step methods for an object.
Instance Method Summary collapse
-
#initialize(container = Steps::Container, pipe: Pipe) ⇒ Builder
constructor
A new instance of Builder.
Constructor Details
#initialize(container = Steps::Container, pipe: Pipe) ⇒ Builder
Returns a new instance of Builder.
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/pipeable/builder.rb', line 13 def initialize container = Steps::Container, pipe: Pipe super() @container = container @pipe = pipe define_pipe define_steps freeze end |