Sha256: 73dd339c9e97143c4ec355f249ab15212b7e03333d41e9dc1e535d986b6d807b

Contents?: true

Size: 307 Bytes

Versions: 5

Compression:

Stored size: 307 Bytes

Contents

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

module Configuration
  module SQLCmd
    include Albacore::Configuration

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

Version data entries

5 entries across 5 versions & 1 rubygems

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