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.1.5 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.1.4.2 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.8.6 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.1.4.1 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.8.5 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.1.4 lib/active_support/core_ext/date_time/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_time/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_time/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_time/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_time/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_time/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_time/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_time/blank.rb
activesupport-7.1.3.4 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.8.4 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.1.3.2 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.1.3.1 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.8.1 lib/active_support/core_ext/date_time/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_time/blank.rb
activesupport-7.1.3 lib/active_support/core_ext/date_time/blank.rb