molten_core 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,5 @@
1
+ require 'active_support/core_ext/array/extract_options'
2
+
1
3
  class Array
2
4
  def delete!(default = nil, &block)
3
5
  index_of_item = self.index(&block)
@@ -22,10 +24,10 @@ class Array
22
24
  end
23
25
 
24
26
  def with_extractable_options!
25
- options = args.extract_options!
27
+ options = self.extract_options!
26
28
 
27
29
  yield args, options
28
30
 
29
- args << options unless options.empty?
31
+ self << options unless options.empty?
30
32
  end
31
33
  end
@@ -1,3 +1,3 @@
1
1
  module MoltenCore
2
- VERSION = '0.0.3'
2
+ VERSION = '0.0.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: molten_core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: