daz (Dave B)
- Login: daz
- Registered on: 12/16/2008
- Last sign in: 10/13/2018
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 0 | 3 | 3 |
Activity
03/10/2012
-
02:00 PM Ruby Feature #6126: Introduce yes/no constants aliases for true/false
#- You can please yourself in your own programs by
#- adding a couple of lines at the top.
#====================#
class Object
def yes?; self end
def no?; !self end
end
#====================#
def test(proposal_ac...
02/10/2012
-
04:27 PM Ruby Feature #5994: Dir.glob without wildcards returns pattern, not filename
- Hi Nobu,
I expected:
~~~ruby
p Dir.glob('foO') #=> ["Foo"]
~~~
The current behaviour would be difficult to justify.
The doc string says ...
"Returns the filenames found by expanding *pattern* ..."
There is no filename "fo... -
01:23 PM Ruby Feature #5994: Dir.glob without wildcards returns pattern, not filename
- This *nix behaviour would be fine, for me.
~~~ruby
# ruby 1.8.7p302 (2010-08-16) [i486-linux]
#-----------------------------------------------------
p Dir.glob('*') #=> ["Foo"] ok
p Dir.glob('f?O') ... -
12:52 PM Ruby Feature #5994 (Closed): Dir.glob without wildcards returns pattern, not filename
- This is Windows specific, I guess, as filename case doesn't matter there.
Ruby version is not specific to 1.9.3p0 (ruby 1.8.7p334 gives the same).
The script below produces results that seem inconsistent.
Using special characters (wil...
06/30/2011
-
11:46 AM Ruby Bug #2545: Array#delete_if is borked if user calls 'break'
- Just met this problem:
ruby 1.8.7 (2011-02-18 patchlevel 334) [i386-mingw32]
I'd also consider it a bug and that the ruby implementation should be hidden from the user. Once an element has been selected for deletion, at the end of th...
02/20/2010
-
05:44 PM Ruby Bug #2767: YAML bug
- =begin
Already reported at http://redmine.ruby-lang.org/issues/show/1311
=end
11/13/2009
-
06:11 AM Ruby Bug #1311: YAML::dump creates strings YAML::load cannot parse
- =begin
Caleb's revisions are the way to go.
( test_yaml2.patch & syck_scan_scalar2.patch )
Harmlessly beneficial - no compatibility issues - emits YAML to the spec.
daz
=end
05/20/2009
-
02:18 AM Ruby Feature #1493 (Closed): [patch] lex_state as bit field / IS_lex_state() macro
- =begin
# ? Changelog:
# Represent lex_state by bit field instead of serial integer enum
# so that single or multiple values can be checked together using
# unifying macro IS_lex_state(). States remain mutually exclusive.
...
05/11/2009
-
02:48 PM Ruby Bug #1457 (Closed): Some grammar rules not terminated with semicolon;
- =begin
Hi,
Not really a bug.
I guess Bison forgives the omission of rule-terminating delimiters ...
... but my clumsy script doesn't :)))
Patch against 1_9_1 branch.
daz
=end
04/06/2009
-
09:00 PM Ruby Feature #1358: net/http has no TRACK method - here's a patch
- =begin
Very similar to http://redmine.ruby-lang.org/issues/show/1352 :)
=end