Class: AllTheFavicons::Tiles
Class Method Summary collapse
Class Method Details
.all ⇒ Object
6 7 8 |
# File 'lib/all_the_favicons/tiles.rb', line 6 def all files(/^mstile/).map { |f| ms_icon(f) } end |
.tile_image ⇒ Object
10 11 12 |
# File 'lib/all_the_favicons/tiles.rb', line 10 def tile_image files(/^mstile-/).first end |
.tile_image? ⇒ Boolean
14 15 16 |
# File 'lib/all_the_favicons/tiles.rb', line 14 def tile_image? tile_image ? true : false end |