class Easy::Configuration::Entity

Attributes

no_count[RW]

Public Class Methods

new(klass_name) click to toggle source
# File lib/easy/configuration/entity.rb, line 7
def initialize(klass_name)
  @klass_name   = klass_name
  @no_count     = false
  @menu         = Hash.new { |hash, key| hash[key.to_s] = Menu.new }
end

Public Instance Methods

menu(section) { |menu| ... } click to toggle source
no_count?() click to toggle source
# File lib/easy/configuration/entity.rb, line 13
def no_count?
  !!no_count
end