← all fixtures
ruby-intridea-multi_json-remove-double-colon
Ruby
View before/after files on GitHub
Upstream commit intridea-multi_json@aa0cac1
lib/multi_json/adapters/jr_jackson.rb
●
unmarked
●
matched
●
updated
●
matched, not identical
●
moved, unchanged
●
deleted
●
inserted
any 3:2
multi-map group: any pairing of the 3 with the 2 is valid, one is shown
all 3:1
all-to-all group: each of the 3 corresponds to the 1
inserted
deleted
updated
moved
click a highlight to reveal its counterpart
Split
Code
Tree
Before
1
require "jrjackson" unless defined?(
::
JrJackson)
2
require "multi_json/adapter"
3
4
module MultiJson
5
module Adapters
6
# Use the jrjackson.rb library to dump/load.
7
class JrJackson < Adapter
…
lines 8–26 unchanged (19 lines)
After
1
require "jrjackson" unless defined?(
JrJackson)
2
require "multi_json/adapter"
3
4
module MultiJson
5
module Adapters
6
# Use the jrjackson.rb library to dump/load.
7
class JrJackson < Adapter
…
lines 8–26 unchanged (19 lines)
Before
program
unless_modifier
call
identifier "require"
argument_list
string
" "\""
string_content "jrjackson"
" "\""
unless "unless"
unary
defined? "defined?"
parenthesized_statements
( "("
scope_resolution
:: "::"
constant "JrJackson"
) ")"
call
identifier "require"
argument_list
string
" "\""
string_content "multi_json/adapter"
" "\""
module (+140 nodes collapsed)
After
program
unless_modifier
call
identifier "require"
argument_list
string
" "\""
string_content "jrjackson"
" "\""
unless "unless"
unary
defined? "defined?"
parenthesized_statements
( "("
constant "JrJackson"
) ")"
call
identifier "require"
argument_list
string
" "\""
string_content "multi_json/adapter"
" "\""
module (+140 nodes collapsed)
Keybindings
j / k
next / previous visible node (tree panels)
h / l
collapse / expand the focused node
g / G
jump to first / last visible node
Tab
switch focus between Before/After panels
/
search: jump to next node whose text contains a given string
a
jump the other panel to this node's mapped counterpart
i
hide identical matches, showing only inserted/deleted/updated nodes and their ancestors
v
cycle the view: split / code only / tree only
p
cycle what the code view renders: the node mapping, then each human painting
r
mark this fixture as reviewed, or forget the mark (kept in this browser only)
n
open a random fixture not yet marked as reviewed
?
toggle this help
Search (plain substring, no regex):