From: David Tillman Date: 2001-08-08T02:40:56+09:00 Subject: [ruby-talk:19304] Re: Speaking of the ternary operator.... >>>>> Michael Neumann writes: > Try Hash#fetch(key, default): > x = args[1] @border = x.fetch(H_border, 0) @align = x.fetch(H_align, false) > ... > Even shorter than Scheme. > Regards, > Michael > -- Michael Neumann merlin.zwo InfoDesign GmbH > http://www.merlin-zwo.de Excellent! Thank you very much! Perhaps someday keywords will be fully functional (version 1.8 ?) -Dave -- David Tillman | System Administrator How absolute the knave is! We must speak by the card, or equivocation will undo us.