Sha256: d0e26368f3a59f3e7415c045c601587a3cd2ba8538213589ce2ddb3bd2881bde
Contents?: true
Size: 324 Bytes
Versions: 13
Compression:
Stored size: 324 Bytes
Contents
module Concen module ApplicationHelper # Remove all the new lines from the output. # This is very useful when used for inline-block elements, because # white spaces will transform into extra gaps between element. def one_line(&block) (capture_haml(&block).gsub("\n", '')).html_safe end end end
Version data entries
13 entries across 13 versions & 1 rubygems