From 7f10c8f3bb4de9445fdbf5a325d32e1ecb89164b Mon Sep 17 00:00:00 2001 From: Javier Acero Date: Mon, 18 Apr 2016 18:34:22 +0200 Subject: [PATCH] Call super first --- lib/dnsimple/struct/extended_attribute.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/dnsimple/struct/extended_attribute.rb b/lib/dnsimple/struct/extended_attribute.rb index e9ed75b9..bf5c03d1 100644 --- a/lib/dnsimple/struct/extended_attribute.rb +++ b/lib/dnsimple/struct/extended_attribute.rb @@ -27,8 +27,8 @@ class Option < Base attr_accessor :options def initialize(*) - @options ||= [] super + @options ||= [] end def options=(opts)