Sha256: 0513d6369e435cc2f27a9e2c2381b696abdd8cab1555f979b570baab3bf6ab05

Contents?: true

Size: 357 Bytes

Versions: 23

Compression:

Stored size: 357 Bytes

Contents

require "airbrussh/configuration"
require "airbrussh/formatter"
require "airbrussh/version"

module Airbrussh
  def self.configuration(options={})
    return options if options.is_a?(::Airbrussh::Configuration)
    @configuration ||= Configuration.new
    @configuration.apply_options(options)
  end

  def self.configure
    yield(configuration)
  end
end

Version data entries

23 entries across 23 versions & 2 rubygems

Version Path
airbrussh-1.0.1 lib/airbrussh.rb
airbrussh-1.0.0 lib/airbrussh.rb
airbrussh-1.0.0.beta1 lib/airbrussh.rb