Sha256: 2ce189912060d62a98f7404bd9a5894202fc30adc33cb25f5c911868bf285d21

Contents?: true

Size: 369 Bytes

Versions: 1

Compression:

Stored size: 369 Bytes

Contents

module Wukong
  module Deploy

    # Makes `UsesFileState#file_state_dir` default to the
    # `Wukong::Deploy.tmp_dir`.
    module UsesFileStateOverride

      # Overrides the default value of #file_state_dir with
      # Wukong::Deploy.tmp_dir.
      #
      # @return [String]
      def file_state_dir
        Wukong::Deploy.tmp_dir.to_s
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
wukong-deploy-0.2.0 lib/wukong-deploy/extensions/uses_file_state.rb