Notes posted by fgasperi
RSS feed
fgasperi -
August 3, 2015
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