Sha256: 0bda0609b25f826dd12185ce961aec57ec9645f648dc8d1128271a5f9e1e3a05

Contents?: true

Size: 307 Bytes

Versions: 6

Compression:

Stored size: 307 Bytes

Contents

require 'allen'
require 'allen/project'
require 'allen/settings'

module Allen
  module DSL
    def settings(&block)
      Allen.settings.configure(block)
    end

    def project(name, &block)
      project = Allen::Project.new(name, block)
      Allen.projects << project
      project
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
allen-0.2.0 lib/allen/dsl.rb
allen-0.1.5 lib/allen/dsl.rb
allen-0.1.4 lib/allen/dsl.rb
allen-0.1.3 lib/allen/dsl.rb
allen-0.1.2 lib/allen/dsl.rb
allen-0.1.1 lib/allen/dsl.rb