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
fablicop-1.10.2 vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.5 lib/active_support/core_ext/date_time/blank.rb
fluent-plugin-google-cloud-logging-on-prem-0.1.0 vendor/ruby/3.1.0/gems/activesupport-7.0.4.3/lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.4.3 lib/active_support/core_ext/date_time/blank.rb
rubypitaya-3.12.4 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.4.2 lib/active_support/core_ext/date_time/blank.rb
rubypitaya-3.12.3 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.4.1 lib/active_support/core_ext/date_time/blank.rb
rubypitaya-3.12.2 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.4 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.3.1 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.3 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.2.4 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.2.3 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.2.2 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.2.1 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.2 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.1 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.0 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.0.rc3 lib/active_support/core_ext/date_time/blank.rb