Ad
  • Default User Avatar

    You could've avoided to_str, to_ary, to_hash check if defined method_missing as self.method_missing. In this case it will be defined for main object only, instead of being defined for Object as a class