Skip to content
Browse files

move array extention to its own file

  • Loading branch information...
1 parent 4e73b3d commit e3082c3ffc8788f43d0fd3baae237118b97b64ff @crazed committed Feb 7, 2012
Showing with 5 additions and 5 deletions.
  1. +5 −0 lib/core_ext/array.rb
  2. +0 −5 lib/ops_dash/plugin.rb
View
5 lib/core_ext/array.rb
@@ -0,0 +1,5 @@
+class Array
+ def extract_options!
+ last.is_a?(Hash) ? pop : {}
+ end
+end
View
5 lib/ops_dash/plugin.rb
@@ -1,8 +1,3 @@
-class Array
- def extract_options!
- last.is_a?(Hash) ? pop : {}
- end
-end
require 'backports/basic_object' unless defined? BasicObject
module OpsDash

0 comments on commit e3082c3

Please sign in to comment.
Something went wrong with that request. Please try again.