Module: Compass::AppIntegration::Rails

Extended by:
Rails
Included in:
Rails
Defined in:
lib/compass/app_integration/rails.rb

Instance Method Summary collapse

Instance Method Details

#envObject



12
13
14
15
# File 'lib/compass/app_integration/rails.rb', line 12

def env
  Compass::Util.compass_warn("WARNING:  Please remove the call to Compass::AppIntegration::Rails.env from #{caller[0].sub(/:.*$/,'')};\nWARNING:  This is done automatically now. If this is default compass initializer you can just remove the file.")
  ::Rails.env
end

#initialize!Object



5
6
7
# File 'lib/compass/app_integration/rails.rb', line 5

def initialize!
  Compass::Util.compass_warn("WARNING:  Please remove the call to Compass::AppIntegration::Rails.initialize! from #{caller[0].sub(/:.*$/,'')};\nWARNING:  This is done automatically now. If this is default compass initializer you can just remove the file.")
end

#rootObject



8
9
10
11
# File 'lib/compass/app_integration/rails.rb', line 8

def root
  Compass::Util.compass_warn("WARNING:  Please remove the call to Compass::AppIntegration::Rails.root from #{caller[0].sub(/:.*$/,'')};\nWARNING:  This is done automatically now. If this is default compass initializer you can just remove the file.")
  ::Rails.root
end