Sha256: 3924f8bc09ce910e77e47cc2033ee74ad1a8c3794cf5c8440aa6124047b601b0

Contents?: true

Size: 180 Bytes

Versions: 16

Compression:

Stored size: 180 Bytes

Contents

module Landable
  module Liquid

    module DefaultFilter
      def default(input, default_output=nil)
        input.presence ? input : default_output
      end
    end

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
landable-1.13.1 lib/landable/liquid/filters.rb
landable-1.12.3 lib/landable/liquid/filters.rb
landable-1.12.2 lib/landable/liquid/filters.rb
landable-1.12.1 lib/landable/liquid/filters.rb
landable-1.11.1 lib/landable/liquid/filters.rb
landable-1.11.0 lib/landable/liquid/filters.rb
landable-1.10.0.rc2 lib/landable/liquid/filters.rb
landable-1.10.0.rc1 lib/landable/liquid/filters.rb
landable-1.9.2 lib/landable/liquid/filters.rb
landable-1.9.1 lib/landable/liquid/filters.rb
landable-1.9.0 lib/landable/liquid/filters.rb
landable-1.9.0.rc2 lib/landable/liquid/filters.rb
landable-1.9.0.rc1 lib/landable/liquid/filters.rb
landable-1.8.0 lib/landable/liquid/filters.rb
landable-1.7.1.rc1 lib/landable/liquid/filters.rb
landable-1.7.0 lib/landable/liquid/filters.rb