Skip to content

Commit

Permalink
move array extention to its own file
Browse files Browse the repository at this point in the history
  • Loading branch information
crazed committed Feb 8, 2012
1 parent 4e73b3d commit e3082c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions lib/core_ext/array.rb
@@ -0,0 +1,5 @@
class Array
def extract_options!
last.is_a?(Hash) ? pop : {}
end
end
5 changes: 0 additions & 5 deletions 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 require 'backports/basic_object' unless defined? BasicObject


module OpsDash module OpsDash
Expand Down

0 comments on commit e3082c3

Please sign in to comment.