Sha256: 0073020dc4c0cfee1651d3e5e493cd1718800ab43e886bd0d72b2eb3c0b68781

Contents?: true

Size: 204 Bytes

Versions: 35

Compression:

Stored size: 204 Bytes

Contents

# A patch to fix https://github.com/opal/opal/issues/801 until it is fixed in (0.8)
if RUBY_PLATFORM == 'opal'
  class Boolean
    def hash
      self ? 'Boolean:true' : 'Boolean:false'
    end
  end
end

Version data entries

35 entries across 35 versions & 1 rubygems

Version Path
volt-0.9.7.pre8 lib/volt/utils/boolean_patch.rb
volt-0.9.7.pre7 lib/volt/utils/boolean_patch.rb
volt-0.9.7.pre6 lib/volt/utils/boolean_patch.rb
volt-0.9.7.pre5 lib/volt/utils/boolean_patch.rb
volt-0.9.7.pre3 lib/volt/utils/boolean_patch.rb
volt-0.9.7.pre2 lib/volt/utils/boolean_patch.rb
volt-0.9.6 lib/volt/utils/boolean_patch.rb
volt-0.9.6.pre3 lib/volt/utils/boolean_patch.rb
volt-0.9.6.pre2 lib/volt/utils/boolean_patch.rb
volt-0.9.6.pre1 lib/volt/utils/boolean_patch.rb
volt-0.9.5 lib/volt/utils/boolean_patch.rb
volt-0.9.5.pre12 lib/volt/utils/boolean_patch.rb
volt-0.9.5.pre11 lib/volt/utils/boolean_patch.rb
volt-0.9.5.pre9 lib/volt/utils/boolean_patch.rb
volt-0.9.5.pre8 lib/volt/utils/boolean_patch.rb
volt-0.9.5.pre7 lib/volt/utils/boolean_patch.rb
volt-0.9.5.pre6 lib/volt/utils/boolean_patch.rb
volt-0.9.5.pre5 lib/volt/utils/boolean_patch.rb
volt-0.9.5.pre4 lib/volt/utils/boolean_patch.rb
volt-0.9.5.pre3 lib/volt/utils/boolean_patch.rb