Sha256: 478fc5f6a0aa2ac81d7eb1cffd4e44daa2a82678c683c39caafcc22792be3308

Contents?: true

Size: 639 Bytes

Versions: 33

Compression:

Stored size: 639 Bytes

Contents

require 'time'
require 'date'

class String # :nodoc:
  def to_liquid
    self
  end
end

class Array  # :nodoc:
  def to_liquid
    self
  end
end

class Hash  # :nodoc:
  def to_liquid
    self
  end
end

class Numeric  # :nodoc:
  def to_liquid
    self
  end
end

class Time  # :nodoc:
  def to_liquid
    self
  end
end

class DateTime < Date  # :nodoc:
  def to_liquid
    self
  end
end

class Date  # :nodoc:
  def to_liquid
    self
  end
end

class TrueClass
  def to_liquid  # :nodoc:
    self
  end
end

class FalseClass
  def to_liquid # :nodoc:
    self
  end
end

class NilClass
  def to_liquid # :nodoc:
    self
  end
end

Version data entries

33 entries across 33 versions & 6 rubygems

Version Path
locomotivecms-liquid-4.0.0 lib/liquid/extensions.rb
liquid-3.0.6 lib/liquid/extensions.rb
liquid-3.0.5 lib/liquid/extensions.rb
liquid-2.6.3 lib/liquid/extensions.rb
liquid-3.0.4 lib/liquid/extensions.rb
liquid-3.0.3 lib/liquid/extensions.rb
liquid-3.0.2 lib/liquid/extensions.rb
locomotivecms-liquid-4.0.0.alpha2 lib/liquid/extensions.rb
locomotivecms-liquid-4.0.0.alpha1 lib/liquid/extensions.rb
locomotivecms-liquid-4.0.0.alpha lib/liquid/extensions.rb
liquid-3.0.1 lib/liquid/extensions.rb
liquid-2.6.2 lib/liquid/extensions.rb
liquid-3.0.0 lib/liquid/extensions.rb
liquid-3.0.0.rc1 lib/liquid/extensions.rb
liquid-2.6.1 lib/liquid/extensions.rb
liquid-2.5.5 lib/liquid/extensions.rb
mango-0.8.0 vendor/bundler/ruby/2.1.0/gems/liquid-2.6.0/lib/liquid/extensions.rb
liquid-2.6.0 lib/liquid/extensions.rb
liquid-2.5.4 lib/liquid/extensions.rb
liquid-2.6.0.rc1 lib/liquid/extensions.rb