Sha256: f158a9fc09cfcc9a65dbdbcb136e59b88500df133b411b6aefed62d09cba24fb

Contents?: true

Size: 73 Bytes

Versions: 2

Compression:

Stored size: 73 Bytes

Contents

class TrueClass
  def to_i
    1
  end

  def to_bool
    self
  end
end

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
maybe_so-1.1.0 lib/maybe_so/core_ext/true_class.rb
heartwood-0.0.1 lib/heartwood/support/true_class.rb