[#409331] Capture HTML table data, pass to Ruby, pass back and display result in HTML text field — Hubert Wagner <lists@...>

Hello :

11 messages 2013/08/04

[#409336] Rakefile Error - Please Help — "Jennifer T." <lists@...>

Hi,

13 messages 2013/08/04
[#409341] Re: Rakefile Error - Please Help — Hassan Schroeder <hassan.schroeder@...> 2013/08/04

On Sun, Aug 4, 2013 at 7:41 AM, Jennifer T. <lists@ruby-forum.com> wrote:

rdoc and a class named SM

From: Ronald Fischer <lists@...>
Date: 2013-08-08 12:52:33 UTC
List: ruby-talk #404617
I'm still on a Ruby 1.8.6 system. rdoc/usage is used together with
getoptlong for providing help to the user.

One of the classes defined in the main module is called SM. This causes
rdoc to spill out an error message "SM is not a class". Indeed, there is
a module within RDoc of this name.

Of course I could put SM (and the other classes) in their own namespace
(which would be reasonable anyway - I just didn't do it for laziness,
because the application is so small), so it's not really a problem. I'm
just curious: Is there maybe a more reasonable way to solve my problem?
Maybe it's not a good idea to name a class with all-uppercase letters in
the first place?

-- 
Posted via http://www.ruby-forum.com/.

In This Thread

Prev Next