Sha256: 443672294935a466157fd4b3f5189a8e6e3fee29d7f56e477440bf66776fdce0

Contents?: true

Size: 457 Bytes

Versions: 1

Compression:

Stored size: 457 Bytes

Contents

module Middleman
  module Deploy
    module Methods
      class Base
        attr_reader :options, :server_instance

        def initialize(server_instance, options = {})
          @options          = options
          @server_instance  = server_instance
        end

        def build_dir
          server_instance.config.setting(:build_dir).value
        end

        def process
          fail NotImplementedError
        end
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-deploy-2.0.0.pre.alpha lib/middleman-deploy/methods/base.rb