|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
#
|
|
1
|
+
# encoding: ascii
|
|
2
|
-
#
|
|
2
|
+
# frozen_string_literal: true
|
|
3
|
-
a = {
|
|
3
|
+
a = {"hello" => "world", "testing" => BigDecimal(123.456, 3)}
|
|
@@ -13,8 +13,8 @@
|
|
|
13
|
-
x < y < z
|
|
13
|
+
x < y && y < z
|
|
14
|
-
10 <= x <= 20
|
|
14
|
+
10 <= x && x <= 20
|
|
@@ -24,12 +24,11 @@
|
|
|
24
|
-
else
|
|
25
|
-
puts
|
|
24
|
+
puts "Hello"
|
|
@@ -49,7 +48,7 @@ def some_method
|
|
|
49
|
-
OpenSSL::Cipher
|
|
48
|
+
OpenSSL::Cipher.new("aes-128-gcm")
|
|
@@ -68,8 +67,7 @@ def foo
|
|
|
68
|
-
my_hash.merge!(
|
|
67
|
+
my_hash.merge!(key: value)
|
|
69
|
-
|
|
70
|
-
[1, 2, 3].
|
|
68
|
+
[1, 2, 3].size
|