#Metaprogramming
5 notas · última:
Benefits of Writing a DSL in Ruby
The article explains why ZenPayroll built a Ruby DSL for state-specific payroll logic, then walks through a CA example using blocks, instance_eval, method_missing, and validations.
Ruby Metaprogramming - Method Missing
`method_missing` lets Ruby objects handle calls to undefined methods before raising an exception. The page shows delegation in a presenter and a custom alias system built on a lookup table.
Why we are excited about Elixir
The post says Elixir is promising because it sits on Erlang’s mature runtime, adds Ruby-like syntax, supports macros and DSLs, and comes with solid tooling and documentation.
Ruby (programming language): How does metaprogramming in Ruby work?
Fabio Akita says the topic has been explained many times and points readers to existing material on the Ruby object model and metaprogramming, including talks, articles, books, and tutorials.
15 Things for a Ruby Beginner
The post lists practical next steps for Ruby beginners, from basics and core tools to objects, immutability, metaprogramming, blocks, style guides, and community habits.
