Module: Liquid::DefaultFilter

Defined in:
lib/liquid/default_filter.rb

Instance Method Summary collapse

Instance Method Details

#default(input, default) ⇒ Object



2
3
4
# File 'lib/liquid/default_filter.rb', line 2

def default(input, default)
	input.blank? ? default : input
end