Sha256: e9c4f74a458d4b02fd0f2d101a1b24d48815bac97796dd43df111e8c3e16386d
Contents?: true
Size: 358 Bytes
Versions: 1
Compression:
Stored size: 358 Bytes
Contents
require "growl-ampelmaennchen/version" module Growl module Ampelmaennchen class << self def asset_root File.expand_path("../../assets", __FILE__) end [:blue, :green, :grey, :red, :yellow].each do |method| define_method(method) do "#{asset_root}/#{method}.png" end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
growl-ampelmaennchen-1.0.0 | lib/growl-ampelmaennchen.rb |