Class: Module
Instance Method Summary collapse
Instance Method Details
#class_def(name, &blk) ⇒ Object
42 43 44 |
# File 'lib/relevance/core_extensions/metaclass.rb', line 42 def class_def name, &blk class_eval { define_method name, &blk } end |