Sha256: 99d10701230eef955cea2f282dd333122a09a039c3e84e3b88784ca23a189709

Contents?: true

Size: 291 Bytes

Versions: 3

Compression:

Stored size: 291 Bytes

Contents

module Slippery
  class Processor
    include ProcessorHelpers

    def initialize(options)
      @options = options
    end

    def options
      if defaults = self.class.const_get(:DEFAULT_OPTIONS)
        defaults.merge(@options)
      else
        @options
      end
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
slippery-0.4.2 lib/slippery/processor.rb
slippery-0.4.1 lib/slippery/processor.rb
slippery-0.4.0 lib/slippery/processor.rb