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