RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Adding dynamic "getters" and "setters" to Ruby Objects.

Hi! This is my first post here. I created a blog post on creating a dynamic “attr_accessor” for a Ruby object! Figured I’d share with the class! https://blog.konnor.site/ruby/dynamic_getters_and_setters/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in