Sha256: 2131df26d4804ef0ab23212e9a647ce3504dd479cc53e05c82041fea2cbf004f
Contents?: true
Size: 380 Bytes
Versions: 1
Compression:
Stored size: 380 Bytes
Contents
# -*- encoding: utf-8 -*- # -*- frozen_string_literal: true -*- # -*- warn_indent: true -*- class NilClass # Returns +true+ if invoked on `NilClass` instance. # # ==== Examples # # nil.blank? #=> true def blank? true end # Returns +false+ if invoked on +NilClass+ instance. # # ==== Examples # # nil.to_b #=> false def to_b false end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rb_core_extensions-0.1.3 | lib/core_extensions/nil_class.rb |