Flowdock
method

find

Importance_0
v2.0.3 - Show latest stable - 0 notes - Class: RailsEnvironment
find(dir=nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/commands/plugin.rb, line 65
  def self.find(dir=nil)
    dir ||= pwd
    while dir.length > 1
      return new(dir) if File.exist?(File.join(dir, 'config', 'environment.rb'))
      dir = File.dirname(dir)
    end
  end
Register or log in to add new notes.