lib/testlab/network/class_methods.rb in testlab-0.2.1 vs lib/testlab/network/class_methods.rb in testlab-0.3.0
- old
+ new
@@ -2,10 +2,10 @@
class Network
module ClassMethods
def ips
- self.all.map(&:ip).collect{ |ip| TestLab::Utility.ip(ip) }.compact
+ self.all.map(&:address).collect{ |address| TestLab::Utility.ip(address) }.compact
end
end
end