Module: Rails

Defined in:
lib/generators/instance/templates/instance_boot.rb

Class Method Summary collapse

Class Method Details

.vendor_rails?Boolean

Returns:

  • (Boolean)


9
10
11
# File 'lib/generators/instance/templates/instance_boot.rb', line 9

def vendor_rails?
  File.exist?("#{Rails.root}/vendor/rails")
end