lib/squib/args/arg_loader.rb in squib-0.17.2 vs lib/squib/args/arg_loader.rb in squib-0.18.0
- old
+ new
@@ -124,6 +124,15 @@
end
end
self
end
+ # Return the deck's configuration
+ # This keeps the @deck local to this mixin instead of forcing args classes
+ # to "know" that @deck works.
+ #
+ # It also makes unit testing easier. Sue me.
+ def deck_conf
+ @deck.conf
+ end
+
end