Sha256: 16196dbcbd3ec5064916884924a3771e87af37a58e0d393434cf04370a679dc7

Contents?: true

Size: 117 Bytes

Versions: 1

Compression:

Stored size: 117 Bytes

Contents

class NilClass

  def to_yes_no(options={})
    options.fetch(:if_nil, "")
  end

  def not_nil?
    false
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
corelib-0.0.7 lib/corelib/nil/core.rb