[#68137] improve semantics of manpages — "Anthony J. Bentley" <anthony@...>
Hi,
1 message
2015/02/17
[#68144] Re: Future of test suites for Ruby — Anthony Crumley <anthony.crumley@...>
FYI...
4 messages
2015/02/17
[#68343] [Ruby trunk - Bug #10916] [Open] What the Ruby? SegFault? — ruby@...
Issue #10916 has been reported by why do i need this acct just to create a bug report.
5 messages
2015/02/27
[#68373] Re: [Ruby trunk - Bug #10916] [Open] What the Ruby? SegFault?
— "Martin J. Dürst" <duerst@...>
2015/03/02
> * Author: why do i need this acct just to create a bug report
[#68358] [Ruby trunk - Bug #10902] require("enumerator") scans LOAD_PATH 2x on every invocation — [email protected]
Issue #10902 has been updated by Aman Gupta.
3 messages
2015/02/28
[ruby-core:67931] [ruby-trunk - Bug #10812] [Closed] Object#respond_to? doesn't acknowledge active refinements
From:
nobu@...
Date:
2015-02-01 11:15:56 UTC
List:
ruby-core #67931
Issue #10812 has been updated by Nobuyoshi Nakada.
Status changed from Open to Closed
----------------------------------------
Bug #10812: Object#respond_to? doesn't acknowledge active refinements
https://bugs.ruby-lang.org/issues/10812#change-51323
* Author: Pablo Herrero
* Status: Closed
* Priority: Normal
* Assignee:
* ruby -v: ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-linux]
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN, 2.2: UNKNOWN
----------------------------------------
Object#respond_to? seems to ignore active refinements.
Take for instance the following code:
```ruby
module R1
refine String do
def foobar
'foobar'
end
end
end
puts 'string'.respond_to?(:foobar) # Returns false
using R1
puts 'string'.foobar # Returns 'foobar'
puts 'string'.respond_to?(:foobar) # Is still false
```
Also seems to equally fail at ruby 2.1.5
--
https://bugs.ruby-lang.org/