Class: Console1984::ProtectionsConfig
- Inherits:
-
Object
- Object
- Console1984::ProtectionsConfig
- Includes:
- Freezeable
- Defined in:
- lib/console1984/protections_config.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
readonly
Returns the value of attribute config.
Instance Method Summary collapse
-
#initialize(config) ⇒ ProtectionsConfig
constructor
A new instance of ProtectionsConfig.
Methods included from Freezeable
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
#config ⇒ Object (readonly)
Returns the value of attribute config.
6 7 8 |
# File 'lib/console1984/protections_config.rb', line 6 def config @config end |