rearmed 1.0.2 → 1.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rearmed/monkey_patches/array.rb +1 -1
- data/lib/rearmed/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 968b1b6d9e143a067cf3bbf08421b30aec7bfa6e
|
4
|
+
data.tar.gz: 1177068969514cbbbc788e813816945358c5216c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 574d3c484daae7a490282e4a8019c00ecbf82b61782d74d32134f793736b3604ac05c9e6064c3ef3ecde1f43461df6efcf34ccebf33fdd405ba13cc91e9371bd
|
7
|
+
data.tar.gz: ed8bf5a25c7ebd663277831dcd8e4a4e32a1622d7fbdf8c13861a9fface22dc97d818d7790f31bf85be3012bd9dc3695b5b12a017aafe428ae12f0c8467d456e
|
@@ -8,7 +8,7 @@ Array.module_eval do
|
|
8
8
|
end
|
9
9
|
|
10
10
|
if array_enabled || Rearmed.dig(Rearmed.enabled_patches, :array, :delete_first) == true
|
11
|
-
def delete_first(item
|
11
|
+
def delete_first(item=(no_arg_passed = true; nil))
|
12
12
|
if block_given? && !no_arg_passed
|
13
13
|
raise BothArgAndBlockError
|
14
14
|
elsif block_given?
|
data/lib/rearmed/version.rb
CHANGED