# File lib/meta_programming/object.rb, line 18 def self.compose_chaining_symbols(method_name, ext) stripped_method_name, punctuation = method_name.to_s.sub(/([?!=])$/, ''), $1 ["#{stripped_method_name}_with_#{ext}#{punctuation}".to_sym, "#{stripped_method_name}_without_#{ext}#{punctuation}".to_sym] end