semaperepelitsa (Simon Perepelitsa)
- Login: semaperepelitsa
- Email: [email protected]
- Registered on: 10/02/2010
- Last sign in: 02/06/2024
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 4 | 4 |
Activity
12/26/2023
-
03:12 PM Ruby Bug #20087 (Closed): Uninitialized instance variable warning - obsolete documentation
- This warning got removed from Ruby 3.0: https://bugs.ruby-lang.org/issues/17055
But the documentation (ruby/doc/syntax/assignment.rdoc@master) still says:
> An uninitialized instance variable has a value of +nil+. If you run Ruby ...
01/25/2021
-
05:40 PM Ruby Misc #17580 (Closed): Bignum referenced in Time documentation
- Since #12005 Bignum has been unified with Fixnum into Integer class, but it is still referenced in Time documentation.
> Since Ruby 1.9.2, Time implementation uses a signed 63 bit integer,
> ...
> nanosecond), Time works slower as wh...
09/29/2020
-
07:59 PM Ruby Bug #17186: Integer overflow in "chr" error message (out of char range)
- Looks great, thanks!
09/24/2020
-
10:11 PM Ruby Bug #17186 (Closed): Integer overflow in "chr" error message (out of char range)
- Example:
```
irb(main):001:0> 300_000_000.chr
RangeError (300000000 out of char range)
irb(main):002:0> 3_000_000_000.chr
RangeError (-1294967296 out of char range)
irb(main):003:0> 30_000_000_000.chr
RangeError (30000000000 out...
07/28/2020
-
03:13 AM Ruby Revision 09e9f7cf (git): [DOC] Clarify ObjectSpace return values are in bytes [ci skip]
03/08/2013
-
08:50 AM Ruby Feature #8027: add the possibility to raise an exception in #included, #extended, #prepended, #inherited and break the calling feature
- I think you are looking for Module.append_features:
module A
def self.append_features(mod)
raise "dont include me"
super
end
end
module E
begin
include A
rescue
end
end
p E.ancestors #=>[E]
If ...
10/02/2010
-
04:40 PM Ruby Feature #3897 (Rejected): Pathname sub_ext! method
- =begin
There is already sub_ext method for Pathname, but there is no sub_ext! to modify the object itself instead of returning a new one.
=end