Module: AblyUi::Integration
- Defined in:
- lib/ably_ui.rb
Class Method Summary collapse
Class Method Details
.asset_paths ⇒ Object
6 7 8 |
# File 'lib/ably_ui.rb', line 6 def asset_paths File.("../lib", File.dirname(__FILE__)) end |
.icon_sprites_paths ⇒ Object
16 17 18 |
# File 'lib/ably_ui.rb', line 16 def icon_sprites_paths Dir[File.join(File.dirname(__FILE__), 'ably_ui', '**' , "sprites.svg")] end |
.precompile_images_paths ⇒ Object
10 11 12 13 14 |
# File 'lib/ably_ui.rb', line 10 def precompile_images_paths ["*.svg", "*.png", "*.jpg", "*.jpeg"].map do |ext| Dir[File.join(File.dirname(__FILE__), 'ably_ui', '**', 'images' , ext)] end.flatten end |