Class: Class
Instance Method Summary collapse
Instance Method Details
#define(constants) ⇒ Object
7 8 9 10 11 |
# File 'lib/quick/fs.rb', line 7 def define(constants) constants.each do |name, val| define_method(name) {|*args| val} end end |
#quick_instance ⇒ Object
24 25 26 |
# File 'lib/quick/core_ext.rb', line 24 def quick_instance @quick_instance ||= allocate end |