Sha256: e6732ef62cf89be4522e6952e4fca4cc0a3f6c293c1f5122c31d24791f787923

Contents?: true

Size: 270 Bytes

Versions: 1

Compression:

Stored size: 270 Bytes

Contents

- Pixelator.pixels[:head].each do |pixel|
  - name = pixel[:name]
  - template = ERB.new(URI.unescape(pixel[:snippet]))
  - context = OpenStruct.new(Pixelator.context)
  - snippet = template.result(context.instance_eval { binding })
  :plain
    #{URI.unescape(snippet)}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pixelator-0.0.1 app/views/shared/_pixelator_head.html.haml