test/support/proxy.rb in ns-options-0.4.1 vs test/support/proxy.rb in ns-options-1.0.0.rc1

- old
+ new

@@ -1,5 +1,7 @@ +require 'ns-options' + module SomeProxy include NsOptions::Proxy class SomeThing include NsOptions::Proxy @@ -11,9 +13,11 @@ opt :other1 opt :other2 end end + + class SomeOtherThing < SomeThing; end opt :some, SomeThing, :default => { :value1 => 1 } opt :some_prime, SomeThing, :default => { :value1 => 'one' } opt :stuff, :default => []