Sha256: 0b91239ed3011b46e20f580d33d5f1bfca255aca63cccf8f12a34052fd194ebf

Contents?: true

Size: 186 Bytes

Versions: 64

Compression:

Stored size: 186 Bytes

Contents

# frozen_string_literal: true

require "date"

class Date # :nodoc:
  # No Date is blank:
  #
  #   Date.today.blank? # => false
  #
  # @return [false]
  def blank?
    false
  end
end

Version data entries

64 entries across 60 versions & 10 rubygems

Version Path
activesupport-7.1.5 lib/active_support/core_ext/date/blank.rb
activesupport-7.1.4.2 lib/active_support/core_ext/date/blank.rb
activesupport-7.0.8.6 lib/active_support/core_ext/date/blank.rb
activesupport-7.1.4.1 lib/active_support/core_ext/date/blank.rb
activesupport-7.0.8.5 lib/active_support/core_ext/date/blank.rb
activesupport-7.1.4 lib/active_support/core_ext/date/blank.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.8.4/lib/active_support/core_ext/date/blank.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3.4/lib/active_support/core_ext/date/blank.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.5.1/lib/active_support/core_ext/date/blank.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.5.1/lib/active_support/core_ext/date/blank.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.5.1/lib/active_support/core_ext/date/blank.rb
katalyst-govuk-formbuilder-1.9.2 vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/core_ext/date/blank.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/activesupport-7.1.3.4/lib/active_support/core_ext/date/blank.rb
activesupport-7.1.3.4 lib/active_support/core_ext/date/blank.rb
activesupport-7.0.8.4 lib/active_support/core_ext/date/blank.rb
activesupport-7.1.3.2 lib/active_support/core_ext/date/blank.rb
activesupport-7.1.3.1 lib/active_support/core_ext/date/blank.rb
activesupport-7.0.8.1 lib/active_support/core_ext/date/blank.rb
mlh-rubocop-config-1.0.3 vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3/lib/active_support/core_ext/date/blank.rb
activesupport-7.1.3 lib/active_support/core_ext/date/blank.rb