mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Ran rubocop autocorrect
This commit is contained in:
@@ -1,9 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class IMICFPS
|
||||
class SoundEffect
|
||||
attr_reader :sound, :options
|
||||
|
||||
def initialize(options = {})
|
||||
raise "expected Hash, got #{options.class}" unless options.is_a?(Hash)
|
||||
|
||||
@options = options
|
||||
|
||||
raise "sound not specified!" unless @options[:sound]
|
||||
@@ -17,4 +20,4 @@ class IMICFPS
|
||||
def update
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user