Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
__method__ does not return valid symbol when Non-ASCII method #914
referenced this issue
Dec 12, 2013
Extracting out of the gist:
# -*- mode: ruby; coding: utf-8 -*- def こんにちは unless __method__ == :'こんにちは' raise "%s is not equals to %s" % [__method__, :'こんにちは'] end end こんにちは
We have several other issues related to us not properly storing the encoding of mbc symbol names (and method table is String values).