ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> ruby-talk
ruby-talk
Re: require an entire package?
by Michael Linfield other posts by this author
Jul 1 2009 3:28PM messages near this date
require an entire package? | Re: require an entire package?
You could just require 'filename.rb'

This would pick up all class and subclass functions located in that 
file.

Global variables are your friend :)

- Mac
-- 
Posted via http://www.ruby-forum.com/.
Thread:
Juston
Michael Linfield
Michael Linfield
Juston
Gary Chris
David A. Black

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved