Permalink
Browse files

moving things around

  • Loading branch information...
1 parent eef07ba commit 0aab2d629c3d3a4cd70e9133012eed123d7cee90 @rkh committed Jun 14, 2010
Showing with 8 additions and 8 deletions.
  1. +8 −8 lib/gem_tools.rb
View
@@ -156,14 +156,6 @@ def run_command(cmd)
end
##
- # @return [TrueClass, FalseClass] Whether or not hook has been setup or is not needed.
- # @see setup_hook
- # @api private
- def setup_hook?
- @setup_hook or !run_code? or name == 'gem_tools'
- end
-
- ##
# Installs a dependency if the block evaluates to true.
#
# @example
@@ -198,6 +190,14 @@ def add_weak_dependency(name, version = '>= 0')
end
##
+ # @return [TrueClass, FalseClass] Whether or not hook has been setup or is not needed.
+ # @see setup_hook
+ # @api private
+ def setup_hook?
+ @setup_hook or !run_code? or name == 'gem_tools'
+ end
+
+ ##
# Sets up code execution hook for given file.
# @see setup_hook
# @api private

0 comments on commit 0aab2d6

Please sign in to comment.