Sha256: 61e1a189d671fb080c4b5ef40a6b32bf795c86aff7fb9b0792871dc9ce898700

Contents?: true

Size: 656 Bytes

Versions: 5

Compression:

Stored size: 656 Bytes

Contents

require 'qor_dsl'

module Layout
  module Configuration
    include Qor::DSL

    node :template

    node :gadget do
      node :desc

      node :settings do
        node :meta
      end

      node :context
      node :template, :inherit => true
    end

    node :layout do
      node :description, :default_value => "TODO"
      node :description_block, :default_block => proc {|x| 'FIXME' }
      node :gadgets
    end

    node :action do
      node :desc
      node :detect
      node :add_permission, {:allow_multi => true}

      # alias_node :grand, :add_permission, {:name => "grand", :options => {}}, {:allow_multi => false}
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
qor_dsl-0.3.3 test/configure.rb
qor_dsl-0.3.2 test/configure.rb
qor_dsl-0.3.1 test/configure.rb
qor_dsl-0.3.0 test/configure.rb
qor_dsl-0.2.1 test/configure.rb