lib/poolparty/modules/configurable.rb in auser-poolparty-0.2.80 vs lib/poolparty/modules/configurable.rb in auser-poolparty-0.2.81
- old
+ new
@@ -1,4 +1,6 @@
+#TODO: rdoc: this defines methods on poolparty objects from a passed hash of options.
+# For example, this is how instance.minimum_runtime is set. See base.rb line 12 for example of default options that are added as methods in this way.
module PoolParty
module Configurable
module ClassMethods
def default_options(h={})
@default_options ||= h
\ No newline at end of file