lib/adhearsion/foundation/metaprogramming.rb in adhearsion-0.8.3 vs lib/adhearsion/foundation/metaprogramming.rb in adhearsion-0.8.4

- old
+ new

@@ -2,14 +2,14 @@ def metaclass class << self self end end - + def meta_eval(&block) metaclass.instance_eval &block end - + def meta_def(name, &block) meta_eval do define_method name, &block end end \ No newline at end of file