Module: Rails

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

Class Method Summary collapse

Class Method Details

.vendor_rails?Boolean

Returns:

  • (Boolean)


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

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