General

Profile

tpo (Tomas Pospisek)

Issues

open closed Total
Assigned issues 0 0 0
Reported issues 0 2 2

Activity

04/23/2009

10:37 PM Ruby Feature #1400: Please add a method to enumerate fields in OpenStruct
=begin
A usage example and context for the feature request here: http://www.sourcepole.ch/2009/4/23/what-fields-does-this-openstruct-instance-have
=end
tpo (Tomas Pospisek)
10:34 PM Ruby Feature #1400 (Closed): Please add a method to enumerate fields in OpenStruct
=begin
There are two ways to find out what fields an OpenStruct instance has. One is through inspect,
however that returns a String that needs to be parsed.

The second is by white box engineering, looking at OpenStructs source c...
tpo (Tomas Pospisek)

11/09/2008

05:10 AM Ruby Feature #729 (Rejected): curly brackets" and "begin end" blocks should behave syntactically and semantically exactly the same
(transported over from rubyforge #16111, as I still think this would be worth while...)
Every now and then I run into a "principle of least surprise" violation wrt blocks in Ruby.
The most primitive problem i have is this: why does...
tpo (Tomas Pospisek)

Also available in: Atom