Sha256: 5d1dbaef99ec21b8bd7bcc52c2504d44b945f6c6879b9ddf0db75f2f52b13a5d

Contents?: true

Size: 292 Bytes

Versions: 5

Compression:

Stored size: 292 Bytes

Contents

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

module Configuration
  module Zip
    include Albacore::Configuration

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
albacore-0.2.5 lib/albacore/config/zipdirectoryconfig.rb
albacore-0.2.4 lib/albacore/config/zipdirectoryconfig.rb
albacore-0.2.3 lib/albacore/config/zipdirectoryconfig.rb
albacore-0.2.2 lib/albacore/config/zipdirectoryconfig.rb
albacore-0.2.0.preview2 lib/albacore/config/zipdirectoryconfig.rb