Sha256: 5908f5281de9a8d71d2eef561364be014151f8dc70da5141716ce0358036d878
Contents?: true
Size: 755 Bytes
Versions: 1
Compression:
Stored size: 755 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 def oldest(*args) with_by_star_options(*args) do |time, options| oldest_query(options) end end def newest(*args) with_by_star_options(*args) do |time, options| newest_query(options) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
by_star-2.2.1 | lib/by_star/directional.rb |