lib/net/ip/route.rb in net-ip-0.0.5 vs lib/net/ip/route.rb in net-ip-0.0.6
- old
+ new
@@ -1,9 +1,9 @@
module Net
module IP
# Class for working with routing table entries.
class Route
- attr_reader :prefix
+ attr_reader :prefix, :via
# Create a new route object
# @example Create a default route
# Net::IP::Route.new(:prefix => 'default', :via => '192.168.0.1')
# @example Create a normal route