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!

Phlex class variants

Wrote https://beautifulruby.com/code/simple-phlex-class-variants to explain how to build component variations with nested Ruby classes and endless methods. Useful if you’re dealing with 10’s of variations and you don’t want to reach for a gem.

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