sorah f425e0fc2b * lib/forwardable.rb: Convert given accessors to String.
r53381 changed to accept only Symbol or String for accessors, but
  there are several rubygems that pass classes (e.g. Array,
  Hash, ...) as accessors. Prior r53381, it was accepted because Class#to_s
  returns its class name. After r53381 given accessors are checked
  with define_method, but it accepts only Symbol or String, otherwise
  raises TypeError.

      def_delegator Foo, :some_method

  This change is to revert unwanted incompatibility. But this behavior
  may change in the future.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2016-01-12 11:19:25 +00:00
..
2015-12-20 11:54:54 +00:00
2016-01-03 14:55:25 +00:00
2015-12-23 03:43:23 +00:00
2015-12-23 03:43:23 +00:00
2015-12-23 03:43:23 +00:00
2016-01-07 06:51:09 +00:00
2016-01-06 08:23:10 +00:00
2015-12-23 03:43:23 +00:00
2015-12-18 15:46:50 +00:00
2015-12-23 03:43:23 +00:00
2015-12-23 03:43:23 +00:00