Sha256: b3c3db1246771df28feab893257ce1b53e4ced4229208fae2a2913d2953e5e09

Contents?: true

Size: 201 Bytes

Versions: 64

Compression:

Stored size: 201 Bytes

Contents

# frozen_string_literal: true

require "date"

class DateTime # :nodoc:
  # No DateTime is ever blank:
  #
  #   DateTime.now.blank? # => false
  #
  # @return [false]
  def blank?
    false
  end
end

Version data entries

64 entries across 60 versions & 10 rubygems

Version Path
activesupport-7.0.0.rc2 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.0.rc1 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.0.alpha2 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.0.alpha1 lib/active_support/core_ext/date_time/blank.rb