Sha256: 3df6b1772164624bed024797df9aeac93f90a78ae973aa9c990a1faaed7574a8

Contents?: true

Size: 132 Bytes

Versions: 24

Compression:

Stored size: 132 Bytes

Contents

class Object

  def boolean?
    !!self == self
  end

  def true?
    self == true
  end

  def false?
    self == false
  end

end

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
procemon-0.3.3 lib/procemon/mpatch/boolean.rb
procemon-0.3.2 lib/procemon/mpatch/boolean.rb
procemon-0.3.1 lib/procemon/mpatch/boolean.rb
procemon-0.2.0 lib/procemon/mpatch/boolean.rb