lib/ronin/mac_address.rb in ronin-1.5.0.rc2 vs lib/ronin/mac_address.rb in ronin-1.5.0

- old
+ new

@@ -62,10 +62,10 @@ # @see 1.3.0 # # @api public # def self.extract(text) - return enum_for(:extract,text).to_a unless block_given? + return enum_for(__method__,text).to_a unless block_given? scanner = StringScanner.new(text) while scanner.skip_until(Regexp::MAC) yield parse(scanner.matched)