class Shrink::Wrap::Transformer::Base

Constants

ATTRIBUTES

Public Class Methods

new(opts = {}) click to toggle source
# File lib/shrink/wrap/transformer/base.rb, line 13
def initialize(opts = {})
  self.options = opts
end

Public Instance Methods

transform(_input) click to toggle source
# File lib/shrink/wrap/transformer/base.rb, line 17
def transform(_input)
  raise NotImplementedError, 'must define #transform in a subclass'
end