robotenique / ruby-metaprog

Short metaprogramming example in ruby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ruby-metaprog

Example of a simple currency converter using the Exchange Rates API, with rich metaprogramming style in ruby, using method_missing, attr_accessor, dynamic injection of methods at runtime (the logger using define_method), and the implementation of respond_to? and respond_to_missing?.

Contributors

About

Short metaprogramming example in ruby

License:The Unlicense


Languages

Language:Ruby 100.0%