Sha256: f20831d2fec913133c2c9be614195727ae836d290840ba56d91501c12babee67

Contents?: true

Size: 391 Bytes

Versions: 27

Compression:

Stored size: 391 Bytes

Contents

require 'tengine/support/config/definition'

class Tengine::Support::Config::Definition::Group
  include Tengine::Support::Config::Definition::HasManyChildren

  attr_reader :__name__
  attr_accessor :__parent__

  def initialize(__name__, options)
    @__name__ = __name__
    @options = options
  end

  def root
    __parent__.root
  end

  def hidden?
    !!@options[:hidden]
  end

end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
tengine_support-1.2.2 lib/tengine/support/config/definition/group.rb
tengine_support-1.2.1 lib/tengine/support/config/definition/group.rb
tengine_support-1.2.0 lib/tengine/support/config/definition/group.rb
tengine_support-1.1.0 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.27 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.26 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.25 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.24 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.22 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.21 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.20 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.19 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.18 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.17 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.16 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.15 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.14 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.13 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.12 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.11 lib/tengine/support/config/definition/group.rb