lib/csd/applications.rb in csd-0.2.2 vs lib/csd/applications.rb in csd-0.3.0

- old
+ new

@@ -43,9 +43,11 @@ return choose_current if Options.testmode # Otherwise we choose and cache the current application module here @@current ||= choose_current end + protected + # This method identifies the desired application. No caching takes place here. # It is meant to be very robust, we expect the application to be any one of the first three arguments. # def self.choose_current Applications.find(ARGV.first) || Applications.find(ARGV.second) || Applications.find(ARGV.third) \ No newline at end of file