lib/configurable.rb in configurable-0.3.0 vs lib/configurable.rb in configurable-0.4.0

- old
+ new

@@ -109,21 +109,17 @@ # alt.get_sym # => :one # # alt.set_sym('two') # alt.config[:sym] # => :two # -# Idiosyncratically, true, false, and nil may also be provided as reader/writer -# options. +# Idiosyncratically, true and false may also be provided as reader/writer +# values. # -# true Same as using the defaults, accessors are defined. -# -# false Sets the default reader/writer but does not define +# true:: Same as using the defaults, accessors are defined. +# false:: Sets the default reader/writer but does not define # the accessors (think 'define reader/writer' => false). # -# nil Does not define a reader/writer, and does not define -# the accessors. In effect this will define a config -# that does not map to the instance, but will be -# present in instance.config +# Nil is not allowed as a value. # # ==== Non-reader/writer attributes # # Metadata for a config may be specified in attributes as well. Attributes like # :desc, and :type are used by ConfigParser, for instance, to determine how to \ No newline at end of file