Class: Shrink::Wrap::Transformer::Base
- Inherits:
-
Object
- Object
- Shrink::Wrap::Transformer::Base
show all
- Defined in:
- lib/shrink/wrap/transformer/base.rb
Constant Summary
collapse
- ATTRIBUTES =
i[
options
].freeze
Instance Method Summary
collapse
Constructor Details
#initialize(opts = {}) ⇒ Base
13
14
15
|
# File 'lib/shrink/wrap/transformer/base.rb', line 13
def initialize(opts = {})
self.options = opts
end
|
Instance Method Details
17
18
19
|
# File 'lib/shrink/wrap/transformer/base.rb', line 17
def transform(_input)
raise NotImplementedError, 'must define #transform in a subclass'
end
|