okuramasafumi (Masafumi OKURA)
- Login: okuramasafumi
- Registered on: 04/13/2019
- Last sign in: 02/26/2024
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 2 | 3 | 5 |
Activity
12/08/2024
-
11:14 PM Ruby Revision 895f2c21 (git): [ruby/rdoc] lint: Remove unreachable code
- (https://github.com/ruby/rdoc/pull/1137)
This is an attempt to utilize RuboCop further.
RuboCop was added in https://github.com/ruby/rdoc/commit/9262fdd43a3a
but only a few rules have been enabled.
I believe we can utilize RuboCop more ...
09/20/2024
-
10:26 AM Ruby Revision 511925f9 (git): [ci-skip] Fix doc for `refinements`
- The current doc is partially wrong since `refinements` method
returns an array of `Refinement` class, not `Module`.
I'm not sure if it's right to link to `Refinement`, but it has
some documentation so it should be useful.
https://docs.ru...
03/18/2024
-
02:37 AM Ruby Revision e6487a92 (git): [ruby/irb] docs(help): Add latest options to ja help message
- (https://github.com/ruby/irb/pull/903)
https://github.com/ruby/irb/commit/3c6d452495
01/09/2024
-
04:01 PM Ruby Feature #18948: Add `with_private_method` option to `private_constant`
- I'm convinced by Jeremy's argument. Please someone close this issue.
-
03:43 PM Ruby Feature #16142: Implement code_range in Proc and Method
- Hi I noticed we didn't get any conclusion on this topic.
I agree that method name should be something different. It follows the Matz's question: "What do we need from the method? line numbers? offset? whatever?
"
https://docs.ruby-l... -
09:18 AM Ruby Feature #16137: Add === to UnboundMethod
- Now that we have had pattern match for a while, I agree with Eregon, we can utilize it more rather than adding new methods.
I cannot change its status so I hope someone will do so instead of me.
11/30/2023
-
12:35 PM Ruby Revision 18f218d6 (git): Add some test cases to Data test
- I noticed that `deconstruct` and `hash` don't have enough coverage.
The behavior of `hash` is documented so I copied it.
10/25/2023
-
07:49 AM Ruby Revision bf136230 (git): [Doc] Improve documentation of PP
- * Remove mention to `require 'pp'` for `pretty_inspect`
* Mention the need to add `require 'pp'` to customize
`#pretty_print(pp)` method
04/26/2023
-
05:37 PM Ruby Bug #19619: Numbered parameters don't work with method definition with parameters
- The result of the last code:
```
undefined method `bar' for #<Object:0x0000000108e20438> (NoMethodError)
``` -
05:32 PM Ruby Bug #19619 (Closed): Numbered parameters don't work with method definition with parameters
- This works:
```ruby
class Foo
def bar(baz) = 'foo'
end
p Foo.new.bar('baz')
```
This also works:
```ruby
o = Object.new
o.tap { |obj| def obj.bar(baz) = 'foo' }
p o.bar('baz')
```
Even this works:
```ruby
o =...