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-0.3.10 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.9 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.8 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.7 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.6 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.5 lib/tengine/support/config/definition/group.rb
tengine_support-0.3.4 lib/tengine/support/config/definition/group.rb