Sha256: b7426874ed3c277d6592341a6a430dbd24849f5ae684b24ada6c26ee75b0bf6c

Contents?: true

Size: 287 Bytes

Versions: 11

Compression:

Stored size: 287 Bytes

Contents

require 'ostruct'
require 'albacore/support/openstruct'

module Configuration
  module Unzip
    include Albacore::Configuration

    def unzip
      @unzipconfig ||= OpenStruct.new.extend(OpenStructToHash)
      yield(@unzipconfig) if block_given?
      @unzipconfig
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
albacore-0.3.6 lib/albacore/config/unzipconfig.rb
albacore-1.0.0.rc.2 lib/albacore/config/unzipconfig.rb
albacore-1.0.0.rc.1 lib/albacore/config/unzipconfig.rb
albacore-0.3.5 lib/albacore/config/unzipconfig.rb
albacore-0.3.4 lib/albacore/config/unzipconfig.rb
albacore-0.3.3 lib/albacore/config/unzipconfig.rb
albacore-0.3.2 lib/albacore/config/unzipconfig.rb
albacore-0.3.1 lib/albacore/config/unzipconfig.rb
albacore-0.3.0 lib/albacore/config/unzipconfig.rb
albacore-0.2.7 lib/albacore/config/unzipconfig.rb
albacore-0.2.6 lib/albacore/config/unzipconfig.rb