Sha256: 82529e071161bd45ebaf1857aa8a073ebd1135b1bd64774645182ff65588cdd6
Contents?: true
Size: 836 Bytes
Versions: 3
Compression:
Stored size: 836 Bytes
Contents
module ByStar module Directional def before(*args) with_by_star_options(*args) do |time, options| field = by_star_start_field(options) time = ByStar::Normalization.time(time) by_star_before_query(self, field, time) end end alias_method :before_now, :before def after(*args) with_by_star_options(*args) do |time, options| field = by_star_start_field(options) time = ByStar::Normalization.time(time) by_star_after_query(self, field, time) 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
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
ta_by_star-4.1.0 | lib/by_star/directional.rb |
ta_by_star-4.0.0 | lib/by_star/directional.rb |
by_star-4.0.0 | lib/by_star/directional.rb |