README.rdoc in classy-adornments-0.1.2 vs README.rdoc in classy-adornments-0.2.0
- old
+ new
@@ -34,21 +34,25 @@
values.
class Relationship
include ClassyAdornments
- adorn :dates, :array => true
+ adorn :dates, :array => true
+ adorn :fights, :array => true
end
romance = Relationship.new
- romance.dates #=> [] Initialised with empty array
+ romance.dates #=> [] Initialised with empty array
- romance.dates(:wings) #=> Value appended to array
- romance.dates #=> [:wings]
+ romance.dates(:wings) #=> Value appended to array
+ romance.dates #=> [:wings]
- romance.dates([:drive_thru,:tv_night]) #=> Array values also added
- romance.dates #=> [:wings,:drive_thru,:tv_night]
+ romance.dates([:drive_thru,:tv_night]) #=> Array values also added
+ romance.dates #=> [:wings,:drive_thru,:tv_night]
+
+ romance.fights :dates, :guy_friend_tim #=> Multi-arguments appended also
+ romance.fights #=> [:dates, :guy_friend_tim]
= Copyright
Copyright (c) 2011 Michael Barton. See LICENSE.txt for
further details.