core/boolean.rb in opal-0.3.18 vs core/boolean.rb in opal-0.3.19

- old
+ new

@@ -1,5 +1,9 @@ -class Boolean +class Boolean < `Boolean` + %x{ + def._isBoolean = true; + } + def &(other) `(this == true) ? (other !== false && other !== nil) : false` end def |(other)