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
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activesupport-7.0.3.1/lib/active_support/core_ext/date_time/blank.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activesupport-7.0.2.3/lib/active_support/core_ext/date_time/blank.rb
activesupport-7.1.2 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.1.1 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.1.0 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.1.0.rc2 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.1.0.rc1 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.1.0.beta1 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.8 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.7.2 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.7.1 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.7 lib/active_support/core_ext/date_time/blank.rb
mlh-rubocop-config-1.0.2 vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.6/lib/active_support/core_ext/date_time/blank.rb
fablicop-1.10.3 vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.6/lib/active_support/core_ext/date_time/blank.rb
fablicop-1.10.3 vendor/bundle/ruby/3.2.0/gems/activesupport-7.0.5/lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.6 lib/active_support/core_ext/date_time/blank.rb
activesupport-7.0.5.1 lib/active_support/core_ext/date_time/blank.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/activesupport-7.0.2.3/lib/active_support/core_ext/date_time/blank.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/activesupport-7.0.3.1/lib/active_support/core_ext/date_time/blank.rb
rubypitaya-3.12.5 ./lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activesupport-7.0.4/lib/active_support/core_ext/date_time/blank.rb