README.textile in yolk-biggs-0.1.1 vs README.textile in yolk-biggs-0.1.2

- old
+ new

@@ -57,10 +57,19 @@ :zip => :postal_code, :country => :country_code, :street => Proc.new {|address| "#{address.street} #{address.house_number}" } end -You can pass in a symbol to let biggs call a different method on your Address-model, or a Proc-object to create your data on the fly. +You can pass in a symbol to let biggs call a different method on your Address-model, or a Proc-object to create your data on the fly. + +You can even pass in a array of symbols: + + Address < ActiveRecord::Base + biggs :postal_address, + :recipient => [:company_name, :person_name] + end + +This will call the methods company_name and person_name on your address-instance, remove any blank returned values and join the rest by a line break. To access the formatted address string, simply call the provided method on an address instance: Address.find(1).postal_address \ No newline at end of file