lib/mutant/require_highjack.rb in mutant-0.5.23 vs lib/mutant/require_highjack.rb in mutant-0.5.24
- old
+ new
@@ -13,11 +13,11 @@
# Run block with highjacked require
#
# @return [self]
#
- # @api pivate
+ # @api private
#
def run
infect
yield
self
@@ -27,10 +27,10 @@
# Infect kernel with highjack
#
# @return [self]
#
- # @api pivate
+ # @api private
#
def infect
callback = @callback
@original = target.method(:require)
target.module_eval do