lib/nmap/os.rb in ruby-nmap-0.4.1 vs lib/nmap/os.rb in ruby-nmap-0.5.0

- old
+ new

@@ -59,11 +59,11 @@ # # @return [Array<OSClass>] # The OS class information. # def classes - enum_for(:each_class).to_a + each_class.to_a end # # Parses the OS match information. # @@ -97,10 +97,10 @@ # # @return [Array<OSMatch>] # The OS match information. # def matches - enum_for(:each_match).to_a + each_match.to_a end # # Parses the ports used for guessing the OS. #