Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: opal/opal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 89df7c6b14d2
Choose a base ref
...
head repository: opal/opal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: b25ab7339c55
Choose a head ref
  • 2 commits
  • 1 file changed
  • 2 contributors

Commits on Jul 4, 2015

  1. Copy the full SHA
    770a607 View commit details
  2. Merge pull request #975 from vais/basic-object-not-equal

    Implement BasicObject#!= without using `!=` in the implementation
    elia committed Jul 4, 2015
    Copy the full SHA
    b25ab73 View commit details
Showing with 1 addition and 1 deletion.
  1. +1 −1 opal/corelib/basic_object.rb
2 changes: 1 addition & 1 deletion opal/corelib/basic_object.rb
Original file line number Diff line number Diff line change
@@ -35,7 +35,7 @@ def !
end

def !=(other)
self != other
!(self == other)
end

alias eql? ==