diff options
Diffstat (limited to 'actioncable/test/stubs/room.rb')
-rw-r--r-- | actioncable/test/stubs/room.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/actioncable/test/stubs/room.rb b/actioncable/test/stubs/room.rb index cd66a0b687..df7236f408 100644 --- a/actioncable/test/stubs/room.rb +++ b/actioncable/test/stubs/room.rb @@ -1,7 +1,9 @@ +# frozen_string_literal: true + class Room attr_reader :id, :name - def initialize(id, name='Campfire') + def initialize(id, name = "Campfire") @id = id @name = name end |