lib/volt/utils/boolean_patch.rb

Summary

Maintainability
A
0 mins
Test Coverage
# 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