Sha256: 19d6da34f94b30b49a327221c9e0b90207a9306de5905b84a91bfd3e443ca17d

Contents?: true

Size: 182 Bytes

Versions: 14

Compression:

Stored size: 182 Bytes

Contents

class EcoRake
  module Utils
    module Timing
      def today?(date)
        date && date.strftime("%Y/%m/%d") == Time.now.strftime("%Y/%m/%d")
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
eco-rake-0.2.7 lib/eco-rake/utils/timing.rb
eco-rake-0.2.6 lib/eco-rake/utils/timing.rb
eco-rake-0.2.5 lib/eco-rake/utils/timing.rb
eco-rake-0.2.4 lib/eco-rake/utils/timing.rb
eco-rake-0.2.3 lib/eco-rake/utils/timing.rb
eco-rake-0.2.2 lib/eco-rake/utils/timing.rb
eco-rake-0.2.1 lib/eco-rake/utils/timing.rb
eco-rake-0.2.0 lib/eco-rake/utils/timing.rb
eco-rake-0.1.6 lib/eco-rake/utils/timing.rb
eco-rake-0.1.5 lib/eco-rake/utils/timing.rb
eco-rake-0.1.4 lib/eco-rake/utils/timing.rb
eco-rake-0.1.3 lib/eco-rake/utils/timing.rb
eco-rake-0.1.2 lib/eco-rake/utils/timing.rb
eco-rake-0.1.1 lib/eco-rake/utils/timing.rb