lib/aspector/deferred_option.rb in aspector-0.6.0 vs lib/aspector/deferred_option.rb in aspector-0.7.0
- old
+ new
@@ -1,11 +1,12 @@
module Aspector
class DeferredOption
attr_reader :key
- def initialize key
+ def [] key
@key = key
+ self
end
end
end