Class: Console1984::ProtectionsConfig

Inherits:
Object
  • Object
show all
Includes:
Freezeable
Defined in:
lib/console1984/protections_config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Freezeable

freeze_all, included

Constructor Details

#initialize(config) ⇒ ProtectionsConfig

Returns a new instance of ProtectionsConfig.



8
9
10
# File 'lib/console1984/protections_config.rb', line 8

def initialize(config)
  @config = config
end

Instance Attribute Details

#configObject (readonly)

Returns the value of attribute config.



6
7
8
# File 'lib/console1984/protections_config.rb', line 6

def config
  @config
end