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
mpatch-1.3.0 lib/mpatch/boolean.rb
mpatch-1.2.0 lib/mpatch/boolean.rb
mpatch-1.1.0 lib/mpatch/boolean.rb
mpatch-1.0.2 lib/mpatch/boolean.rb
mpatch-1.0.1 lib/mpatch/boolean.rb
mpatch-1.0.0 lib/mpatch/boolean.rb
procemon-0.8.1 lib/procemon/mpatch/boolean.rb
procemon-0.8.0 lib/procemon/mpatch/boolean.rb
procemon-0.7.0 lib/procemon/mpatch/boolean.rb
procemon-0.6.3 lib/procemon/mpatch/boolean.rb
procemon-0.6.2 lib/procemon/mpatch/boolean.rb
procemon-0.6.1 lib/procemon/mpatch/boolean.rb
procemon-0.5.0 lib/procemon/mpatch/boolean.rb
procemon-0.4.5 lib/procemon/mpatch/boolean.rb
procemon-0.4.4 lib/procemon/mpatch/boolean.rb
procemon-0.4.3 lib/procemon/mpatch/boolean.rb
procemon-0.4.2 lib/procemon/mpatch/boolean.rb
procemon-0.4.1 lib/procemon/mpatch/boolean.rb
procemon-0.4.0 lib/procemon/mpatch/boolean.rb
procemon-0.3.4 lib/procemon/mpatch/boolean.rb