Class: Karabiner::Config

Inherits:
Object
  • Object
show all
Extended by:
Forwardable
Defined in:
lib/karabiner/config.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name) ⇒ Config

Returns a new instance of Config.



10
11
12
# File 'lib/karabiner/config.rb', line 10

def initialize(name)
  @name = name
end

Instance Attribute Details

#parent=(value) ⇒ Object (writeonly)

Sets the attribute parent

Parameters:

  • value

    the value to set the attribute parent to.



14
15
16
# File 'lib/karabiner/config.rb', line 14

def parent=(value)
  @parent = value
end