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.5.pre2 lib/volt/utils/boolean_patch.rb
volt-0.9.5.pre1 lib/volt/utils/boolean_patch.rb
volt-0.9.4 lib/volt/utils/boolean_patch.rb
volt-0.9.4.pre5 lib/volt/utils/boolean_patch.rb
volt-0.9.4.pre3 lib/volt/utils/boolean_patch.rb
volt-0.9.4.pre2 lib/volt/utils/boolean_patch.rb
volt-0.9.4.pre1 lib/volt/utils/boolean_patch.rb
volt-0.9.3 lib/volt/utils/boolean_patch.rb
volt-0.9.3.pre6 lib/volt/utils/boolean_patch.rb
volt-0.9.3.pre5 lib/volt/utils/boolean_patch.rb
volt-0.9.3.pre4 lib/volt/utils/boolean_patch.rb
volt-0.9.3.pre3 lib/volt/utils/boolean_patch.rb
volt-0.9.3.pre2 lib/volt/utils/boolean_patch.rb
volt-0.9.3.pre1 lib/volt/utils/boolean_patch.rb
volt-0.9.2 lib/volt/utils/boolean_patch.rb