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: rubinius/rubinius
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 798d13ec59c0
Choose a base ref
...
head repository: rubinius/rubinius
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: e091331cd8b6
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Mar 14, 2015

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    29dea3a View commit details
  2. Merge pull request #3357 from fmfdias/fix_more_mirror_subject_assignm…

    …ents
    
    Fix remaining Mirror.subject= assignments
    jemc committed Mar 14, 2015
    Copy the full SHA
    e091331 View commit details
Showing with 2 additions and 2 deletions.
  1. +1 −1 kernel/common/numeric_mirror.rb
  2. +1 −1 kernel/common/range_mirror.rb
2 changes: 1 addition & 1 deletion kernel/common/numeric_mirror.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Rubinius
class Mirror
class Numeric < Mirror
subject = ::Numeric
self.subject = ::Numeric

def step_float_size(value, limit, step, asc)
if (asc && value > limit) || (!asc && value < limit)
2 changes: 1 addition & 1 deletion kernel/common/range_mirror.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Rubinius
class Mirror
class Range < Mirror
subject = ::Range
self.subject = ::Range

def excl
Rubinius.invoke_primitive :object_get_ivar, @object, :@excl