Module: GIPainter_grid
- Defined in:
- lib/GIPainter-grid.rb,
lib/GIPainter-grid/version.rb
Constant Summary collapse
- VERSION =
'0.4.1'
Class Method Summary collapse
- .assets_path ⇒ Object
- .compass? ⇒ Boolean
-
.gem_path ⇒ Object
Paths.
- .load! ⇒ Object
- .stylesheets_path ⇒ Object
Class Method Details
.assets_path ⇒ Object
21 22 23 |
# File 'lib/GIPainter-grid.rb', line 21 def assets_path @assets_path ||= File.join gem_path, 'assets' end |
.compass? ⇒ Boolean
25 26 27 |
# File 'lib/GIPainter-grid.rb', line 25 def compass? defined?(::Compass::Frameworks) end |
.gem_path ⇒ Object
Paths
13 14 15 |
# File 'lib/GIPainter-grid.rb', line 13 def gem_path @gem_path ||= File. '..', File.dirname(__FILE__) end |
.load! ⇒ Object
7 8 9 10 |
# File 'lib/GIPainter-grid.rb', line 7 def load! register_compass_extension if compass? configure_sass end |
.stylesheets_path ⇒ Object
17 18 19 |
# File 'lib/GIPainter-grid.rb', line 17 def stylesheets_path File.join assets_path, 'stylesheets' end |