Module: Toppings::Helper::PathHelper

Extended by:
ActiveSupport::Concern
Included in:
Generators::ComponentsGenerator, Generators::Install::BaseGenerator
Defined in:
lib/toppings/helper/path_helper.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#root_file_pathObject



11
12
13
# File 'lib/toppings/helper/path_helper.rb', line 11

def root_file_path
  stylesheets_path.join(sassy_file_name(Toppings.conf.stylesheets.root_file, standalone: true))
end

#stylesheets_pathObject



7
8
9
# File 'lib/toppings/helper/path_helper.rb', line 7

def stylesheets_path
  @stylesheets_path ||= Pathname('.').join(Toppings.conf.stylesheets.root_folder)
end