summaryrefslogtreecommitdiff
path: root/lib/net/dhcp/options.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/net/dhcp/options.rb')
-rw-r--r--lib/net/dhcp/options.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/dhcp/options.rb b/lib/net/dhcp/options.rb
index d43481d..de47329 100644
--- a/lib/net/dhcp/options.rb
+++ b/lib/net/dhcp/options.rb
@@ -33,7 +33,7 @@ module DHCP
def initialize(params = {})
# We need a type, and a payload
if (([:type, :payload] & params.keys).size != 2)
- raise ArgumentError('you need to specify values for :type and :payload')
+ raise ArgumentError, 'you need to specify values for :type and :payload'
end
self.type = params[:type]