lib/core/facets/kernel/populate.rb in facets-2.7.0 vs lib/core/facets/kernel/populate.rb in facets-2.8.0

- old
+ new

@@ -16,10 +16,12 @@ # # Using an associative array instead of hash guarentees # order of assignemnt. # # Using a hash or array will not raise an error if the - # accessor does not exits --it will simply be skipped. + # accessor does not exits -- it will simply be skipped. + # + # (See also: instance_vars.update, which sets instance variables directly, bypassing accessor method.) # # TODO: Better name, #set_with ? def populate(data=nil) #:yield: if data