Class: ProconBypassMan::EphemeralConfiguration
- Inherits:
-
Object
- Object
- ProconBypassMan::EphemeralConfiguration
- Defined in:
- lib/procon_bypass_man/ephemeral_configuration.rb
Overview
setting.yamlから設定される値。設定ファイルを再読み込みするとすべて消える
Constant Summary collapse
- KEYS =
[ :enable_rumble_on_layer_change, :recognized_procon_color, ].freeze
Instance Method Summary collapse
Instance Method Details
#reset! ⇒ Object
10 11 12 13 14 |
# File 'lib/procon_bypass_man/ephemeral_configuration.rb', line 10 def reset! KEYS.each do |key| self.send("#{key}=", nil) end end |