Skip to content

Commit 642663b

Browse files
committed
fix linter
1 parent cd5cf7b commit 642663b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/ruby/hash_table.rb

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# frozen_string_literal: true
2+
13
class HashTable
24
attr_reader :hash
35

@@ -29,7 +31,7 @@ def calculate_hash(str)
2931
end
3032

3133
hash = HashTable.new
32-
hash.put(:name, 'Jane')
34+
hash.put(:name, "Jane")
3335
hash.put(:age, 22)
3436

3537
puts hash.get(:name) # => Jane

0 commit comments

Comments
 (0)