Sha256: 2f4c973df9cce4c95287ea4b0c858879e0b34cbe20e2641b7c179a8ddf8deba2

Contents?: true

Size: 313 Bytes

Versions: 6

Compression:

Stored size: 313 Bytes

Contents

module Lono::Bundler
  class Dsl
    include DslEvaluator
    include Syntax

    class_attribute :meta, default: {global: {}, components: []}

    def run
      evaluate_file(LB.config.lonofile)
      self
    end

    def meta
      self.class.meta
    end

    def global
      meta[:global]
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
lono-8.0.0.pre.rc6 lib/lono/bundler/dsl.rb
lono-8.0.0.pre.rc5 lib/lono/bundler/dsl.rb
lono-8.0.0.pre.rc4 lib/lono/bundler/dsl.rb
lono-8.0.0.pre.rc3 lib/lono/bundler/dsl.rb
lono-8.0.0.pre.rc2 lib/lono/bundler/dsl.rb
lono-8.0.0.pre.rc1 lib/lono/bundler/dsl.rb