SimpleHash route_from UserName hash Hash Generator process_step lambda

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
SimpleHash[
:route_from=>:UserName,
:hash=>Hash[*Generator[
:process_step=>lambda{|x| x },
:route_from=>
SplitString[
:route_from=>
SimpleGenerator[
:sequence=> ["user11 10","user12 20","user13 30","user14 40","user11 50"],
],
:route_to=>
Generator[
:process_step=>lambda{|x| x[0] },
:route_to=>
UniqueValues[
:route_to=>:UserName,
]
]
],
].run.sequence.flatten]
]