TextFile filename userlist txt route UserName readblock lambda split d

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
TextFile[ :filename=>"userlist.txt", :route=>#:UserName, :readblock=>lambda{|x| x.split[0].downcase }
SplitString[ :route =>
ExtractField[ :route =>
Processor[ :route=>:UserName, :process_step=>lambda{|x| x.downcase} ]
]
]
]
SimpleHash[
:route=>:TrafficLimit,
:required_type=>:UniqueUserName,
:hash=>{"user1"=>100,
"user2"=>200,
"user4"=>300,
"user5"=>400 }
]
UniqueValues.new(:route=>:UniqueUserName, :required_type=>:UserName)
a=PrintData.new(:required_type=>:TrafficLimit)
a.run