Sha256: 2c9dc6c433b94ded2d03b23002cb192211fa00fec80d91d753631541843130ae
Contents?: true
Size: 358 Bytes
Versions: 2
Compression:
Stored size: 358 Bytes
Contents
# frozen_string_literal: true require 'date' DateTime.class_eval do unless method_defined?(:current_month) # :nodoc: def current_month beginning_of_month..end_of_month end end end Date.class_eval do unless method_defined?(:current_month) # :nodoc: def current_month beginning_of_month..end_of_month end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ruby-rails-extensions-1.1.1 | lib/ruby-rails-extensions/extensions/current_month.rb |
ruby-rails-extensions-1.1.1.pre.rc.1 | lib/ruby-rails-extensions/extensions/current_month.rb |