> > Hello Rich, > > what is the motivation behind your patch at : > > http://github.com/richmeyers/ruote/commit/bc8beca2d7bb5918456deae96ce6ef3b036ff5fc > > ? > > Have you experienced any issue ? >
Hi John, I noticed that some files required their dependencies and some did not. This was an attempt to get every .rb file in ruote to be require-able successfully in isolation. An issue I encountered while adding requires was some files using Ruote module without declaring it, like so: module Ruote::Exp # no dependencies on anything in Ruote class Foo end end If this file is loaded by itself, Ruote is not defined and an error is generated. A possible solution would be one of the following: module Ruote end module Ruote::Exp # etc. end or: module Ruote module Exp # etc. end end If you think this entire exercise is a waste of time I won't be offended. Rich -- you received this message because you are subscribed to the "ruote users" group. to post : send email to [email protected] to unsubscribe : send email to [email protected] more options : http://groups.google.com/group/openwferu-users?hl=en
