Module: Refinery::Core

Includes:
ActiveSupport::Configurable
Defined in:
lib/refinery/core.rb,
lib/refinery/core/engine.rb,
lib/refinery/core/configuration.rb,
app/models/refinery/core/base_model.rb

Defined Under Namespace

Classes: BaseModel, Engine, Stylesheet

Class Method Summary collapse

Class Method Details

.clear_javascripts!Object



39
40
41
# File 'lib/refinery/core/configuration.rb', line 39

def self.clear_javascripts!
  self.javascripts = []
end

.clear_stylesheets!Object



43
44
45
# File 'lib/refinery/core/configuration.rb', line 43

def self.clear_stylesheets!
  self.stylesheets = []
end

.rootObject



174
175
176
# File 'lib/refinery/core.rb', line 174

def root
  @root ||= Pathname.new(File.expand_path('../../../', __FILE__))
end