Module: Styler
- Defined in:
- lib/styler.rb,
lib/styler/engine.rb,
lib/styler/version.rb,
lib/styler/generator.rb
Defined Under Namespace
Modules: Rails
Classes: Engine, Generator
Constant Summary
collapse
- VERSION =
"0.1.2"
Instance Method Summary
collapse
Instance Method Details
#assets_path ⇒ Object
47
48
49
|
# File 'lib/styler.rb', line 47
def assets_path
@assets_path ||= File.join gem_path, 'assets'
end
|
#fonts_path ⇒ Object
39
40
41
|
# File 'lib/styler.rb', line 39
def fonts_path
File.join assets_path, 'fonts'
end
|
#gem_path ⇒ Object
31
32
33
|
# File 'lib/styler.rb', line 31
def gem_path
@gem_path ||= File.expand_path '..', File.dirname(__FILE__)
end
|
#javascripts_path ⇒ Object
43
44
45
|
# File 'lib/styler.rb', line 43
def javascripts_path
File.join assets_path, 'javascripts'
end
|
#stylesheets_path ⇒ Object
35
36
37
|
# File 'lib/styler.rb', line 35
def stylesheets_path
File.join assets_path, 'stylesheets'
end
|