General

Profile

niko (Niko Dittmann)

  • Login: niko
  • Registered on: 03/02/2016
  • Last sign in: 03/02/2016

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 1 1

Activity

03/02/2016

12:53 PM Ruby Bug #12136: OpenStruct.new(format: :bar).send :format # => too few arguments
It's this commit: https://github.com/ruby/ruby/blob/7fa21558051e5412dcb790f528e392476edd4389/lib/ostruct.rb
By defining the getters and setters lazily the Kernel, Object and BasicObject instance methods shine through and #method_missi...
niko (Niko Dittmann)
11:19 AM Ruby Bug #12136 (Closed): OpenStruct.new(format: :bar).send :format # => too few arguments
#send(:format) to an OpenStruct with a field named :format raises an ArgumentError in Ruby 2.3.0:
~~~
OpenStruct.new(format: :bar).send :format
ArgumentError: too few arguments
~~~
It works as expected in ruby 2.2.1p85 (2015-02-...
niko (Niko Dittmann)

Also available in: Atom