Sha256: 6ee6aea2fb1b1e4aa52726cfbd616c672dc40479faa5326e9fd6b926c19b53c2

Contents?: true

Size: 517 Bytes

Versions: 2

Compression:

Stored size: 517 Bytes

Contents

require 'logger'

require 'whirled_peas/errors'

require 'whirled_peas/config'
require 'whirled_peas/frame'
require 'whirled_peas/template'
require 'whirled_peas/ui'
require 'whirled_peas/utils'
require 'whirled_peas/version'

module WhirledPeas
  def self.config
    @config ||= Config.new
  end

  def self.configure(&block)
    yield config
  end

  def self.template(&block)
    require 'whirled_peas/template/element'

    template = UI::Template.new
    yield template, template.settings
    template
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whirled_peas-0.4.1 lib/whirled_peas.rb
whirled_peas-0.4.0 lib/whirled_peas.rb