# File lib/rubygems/command.rb, line 80
    def when_invoked(&block)
      @when_invoked = block
    end