# File lib/meta_programming/object.rb, line 62 def define_chained_method(method_name, ext, &block) raise 'Must have a block defining the method body' unless block_given? with, without = Helpers.compose_chaining_symbols(method_name, ext) define_method(with, block) safe_alias_method_chain(method_name.to_sym, ext.to_sym) end