lib/testlab/container/status.rb in testlab-0.9.1 vs lib/testlab/container/status.rb in testlab-1.0.0
- old
+ new
@@ -12,14 +12,14 @@
TestLab::Utility.ip(self.primary_interface.address)
end
# Container CIDR
#
- # Returns the CIDR of the container
+ # Returns the CIDR of the container.
#
# @return [Integer] The containers CIDR address.
def cidr
- TestLab::Utility.cidr(self.primary_interface.address).to_i
+ TestLab::Utility.cidr(self.primary_interface.address)
end
# Container BIND PTR Record
#
# Returns a BIND reverse-DNS PTR record.