Sha256: 8277f32f763cac268bddc7001fdf5b422a0e2f8441182c509d4aad87f21a909b

Contents?: true

Size: 223 Bytes

Versions: 2

Compression:

Stored size: 223 Bytes

Contents

class FalseClass

  def to_s
    "false"
  end

  def &(other)
    false
  end

  def |(other)
    `return other.$r ? Qtrue : Qfalse;`
  end

  def ^(other)
    `return other.$r ? Qtrue : Qfalse;`
  end
end

FALSE = false

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
opal-0.3.1 gems/core/lib/core/false_class.rb
opal-0.3.0 gems/core/lib/core/false_class.rb