Sha256: 930a6763733f5104169c2a90ae276a9b576061016b39b02491cc0110e7dee74e

Contents?: true

Size: 236 Bytes

Versions: 1

Compression:

Stored size: 236 Bytes

Contents

require "heresy/version"

module Heresy::DefaultValue
  def self.nil?
    true
  end

  def self.inspect
    "default"
  end
end

module Kernel
  def default
    Heresy::DefaultValue
  end

  def default?
    self == default
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
heresy-5.0.0 lib/heresy/default.rb