Sha256: 3b1465655d23d5d4d06e8db6605b313c2fabec2b54e625823a648ab8dadc672c

Contents?: true

Size: 184 Bytes

Versions: 3

Compression:

Stored size: 184 Bytes

Contents

# frozen_string_literal: true

# Helper to inject tempus transformation to all objects
module TempusHelper
  def to_tempus
    Tempus.new(self)
  end
end

Object.include(TempusHelper)

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tempus-1.1.1 lib/tempus/tempus_helper.rb
tempus-1.1.0 lib/tempus/tempus_helper.rb
tempus-1.0.2 lib/tempus/tempus_helper.rb