Class: ServiceStack::Pipe
- Inherits:
-
Object
- Object
- ServiceStack::Pipe
- Defined in:
- lib/service_stack/pipe.rb
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(input) ⇒ Pipe
constructor
A new instance of Pipe.
- #transform ⇒ Object
Constructor Details
#initialize(input) ⇒ Pipe
Returns a new instance of Pipe.
7 8 9 |
# File 'lib/service_stack/pipe.rb', line 7 def initialize(input) @input = input end |
Class Method Details
.transform(input) ⇒ Object
3 4 5 |
# File 'lib/service_stack/pipe.rb', line 3 def self.transform(input) new(input).transform end |
Instance Method Details
#transform ⇒ Object
11 12 13 |
# File 'lib/service_stack/pipe.rb', line 11 def transform @input end |