gather

gather.rubyforge.org

DESCRIPTION:

A gem that provides modules to make working with properties a bit easier.

For example:

class SumThing
  include Gather
  property :thing, :spla, :gumf, :troob
end

s = SumThing.new.gather :spla => 'five', :thing => 'sigma' do
  troob %w{one two three four}
  gumf 15 % 4
end

Or

s = SumThing.new.gather :spla => 'five', :thing => 'sigma' do |s|
  s.troob = %w{one two three four}
  s.gumf = 15 % 4
end

FEATURES:

Changes emits on_change for each property

PROBLEMS:

See TODO file.

SYNOPSIS:

REQUIREMENTS:

INSTALL:

sudo gem install gather

THANKS:

LICENSE:

(The GPL-2 License)

Copyright © 2008 John Anderson

This program is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU Library General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.