Sha256: eb2aff0120043c2a8614d68527579e26b64ad6dda91473616497a542b8a26165
Contents?: true
Size: 217 Bytes
Versions: 3
Compression:
Stored size: 217 Bytes
Contents
def assets Rails.application.assets end def asset_for(name) assets[name] end def extract_image_urls_from str # Could be better of course, but does the job for now str.scan(/url\((.+)\)/).map {|g| g[0]} end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
pakunok-0.0.3 | spec/support/global.rb |
pakunok-0.0.2 | spec/support/global.rb |
pakunok-0.0.1 | spec/support/global.rb |