Sha256: 482c85f558a55ae6b17589e6888a6585c28193ed9ef4cf597f3755df37b9d8aa

Contents?: true

Size: 495 Bytes

Versions: 2

Compression:

Stored size: 495 Bytes

Contents

module ByStar

  module Directional

    def before(*args)
      with_by_star_options(*args) do |time, options|
        time = ByStar::Normalization.time(time)
        before_query(time, options)
      end
    end
    alias_method :before_now, :before

    def after(*args)
      with_by_star_options(*args) do |time, options|
        time = ByStar::Normalization.time(time)
        after_query(time, options)
      end
    end
    alias_method :after_now, :after
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
by_star-2.2.0 lib/by_star/directional.rb
by_star-2.2.0.rc1 lib/by_star/directional.rb