Sha256: ee1c2348988767b7ff3c59162f0d515bf550f9f7af57cde6e115b924a9b54727

Contents?: true

Size: 350 Bytes

Versions: 1

Compression:

Stored size: 350 Bytes

Contents

# setting.yamlから設定される値。設定ファイルを再読み込みするとすべて消える
class ProconBypassMan::EphemeralConfiguration
  KEYS = [
    :enable_rumble_on_layer_change,
    :recognized_procon_color,
  ].freeze

  attr_accessor(*KEYS)

  def reset!
    KEYS.each do |key|
      self.send("#{key}=", nil)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
procon_bypass_man-0.3.12 lib/procon_bypass_man/ephemeral_configuration.rb