Sha256: 986f065f27e5e613faf20b28cefd2054b73bddf9b72d5828f8dd61ae42a396e5

Contents?: true

Size: 391 Bytes

Versions: 6

Compression:

Stored size: 391 Bytes

Contents

module ThreeScaleToolbox
  module Tasks
    module CopyTask
      def self.included(base)
        base.extend(ClassMethods)
      end

      module ClassMethods
      end

      attr_reader :context

      def initialize(context)
        @context = context
      end

      def source
        context[:source]
      end

      def target
        context[:target]
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
3scale_toolbox-0.11.0 lib/3scale_toolbox/tasks/copy_task.rb
3scale_toolbox-0.10.0 lib/3scale_toolbox/tasks/copy_task.rb
3scale_toolbox-0.9.0 lib/3scale_toolbox/tasks/copy_task.rb
3scale_toolbox-0.8.0 lib/3scale_toolbox/tasks/copy_task.rb
3scale_toolbox-0.7.0 lib/3scale_toolbox/tasks/copy_task.rb
3scale_toolbox-0.6.0 lib/3scale_toolbox/tasks/copy_task.rb