Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
Arrayr ====== Module to use for letting attributes automatically return arrays for comma separated values Specify which attributes that should return array as values and access the value by suffixing the attribute with "_multiple" If a getter and setter doens't exists this module will create them for you. Example ------- class Foo include Arrayr attr_arrayr(:bar) end foo = Foo.new foo.bar = "zoo, zum" foo.bar_to_a => ["zoo", "zum"]