RubyGems Navigation menu

better_attrs 0.0.1

Enhances `attr_accessor` and `attr_writer` to allow the specification of a callback to be invoked when an attribute value is changed. Ideal for cascading updates or deployment scenarios where it is necessary to keep legacy values in sync until a time that they can be safely removed.

Gemfile:
=

instalar:
=

Versiones:

  1. 0.0.1 February 12, 2015 (8 KB)

dependencias de Development (4):

bundler ~> 1.0
pry ~> 0.10
rake ~> 10.4
rspec ~> 3.1

Propietarios:

Autores:

  • Jonathan W. Zaleski

SHA 256 checksum:

=

Total de descargas 3.668

Para esta versión 3.668

Versión publicada:

Licencia:

MIT

Versión de Ruby requerida: >= 0

Enlace: