/property_bag

digging into how attr_accessor, attr_reader and attr_writer actually work by building custom accessors

Primary LanguageRuby

Using custom attribute accessors and mutators

This repository is an experiment with metaprogramming in ruby to create custom attribute accessors and mutators to gain a better understanding of how attr_accessor, attr_reader and attr_write are implemented in ruby.

Installing

bundle

Running

ruby program.rb

Test

rpsec spec