Class: Module
Overview
Plan is to move everything in here to Smalltalk. Therefore this file is intentionally kept ugly, so I'll stay annoyed by its existence.
Instance Method Summary (collapse)
Instance Method Details
- (Object) reak_alias(reak_name, ruby_name = nil)
5 6 7 8 9 10 |
# File 'lib/reak/bootstrap.rb', line 5 def reak_alias(reak_name, ruby_name = nil) Array(reak_name).each do |reak| ruby = ruby_name || reak alias_method "reak:#{reak}", ruby end end |
- (Object) reak_def(name, &block)
12 13 14 |
# File 'lib/reak/bootstrap.rb', line 12 def reak_def(name, &block) define_method("reak:#{name}", &block) end |