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.

Versions:

  1. 0.0.1 - February 12, 2015 (8 KB)

Development Dependencies (4):

  • bundler ~> 1.0
  • pry ~> 0.10
  • rake ~> 10.4
  • rspec ~> 3.1
  • Owners:

    Authors:

    • Jonathan W. Zaleski

    SHA 256 checksum:

    a9fab8b6e60231e81213882b25b7c6c2697993f8ad7e03419ca538ca23fe9945

    Total downloads 2,559

    For this version 2,559

    Gemfile:
    = Copy to clipboard Copied!

    install:
    =

    License:

    MIT

    Required Ruby Version: >= 0

    Links: