Notes posted by fgasperi
RSS feed
1 thank
define_method with default parameters
To define a method with a default parameter the usual notation can be used:
define_method("example") do |fixed, default = {}| # something end