Forum: Ruby on Rails Modular scripts

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
chris loper (Guest)
on 2007-03-11 07:46
(Received via mailing list)
Not sure how to really phrase the question so I will explain what I
am doing:

I need to allow users to perform some "system" commands, that is,
Rails will execute these commands. In order to parse the return data
and display it in a certain way, I need to store each of the allowed
"commands" in its own script. Where should these scripts go? Should
it be a module? Should it open the directory and read in all module
files? How would I get the class name? etc.

I've never done this before so I'm just needing some direction on this.

Thanks.
This topic is locked and can not be replied to.