Sha256: cf64f8a233ef8f795544b3a21f2a7ffb4bbfed2311711cca4c7660fffa9a7bf3

Contents?: true

Size: 632 Bytes

Versions: 2

Compression:

Stored size: 632 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

2 entries across 2 versions & 1 rubygems

Version Path
liquid-4.0.0.rc2 lib/liquid/extensions.rb
liquid-4.0.0.rc1 lib/liquid/extensions.rb