Module: L42::Interfaces::ToRandom

Extended by:
ToRandom
Included in:
ToRandom
Defined in:
lib/l42/interfaces/to_random.rb

Instance Method Summary collapse

Instance Method Details

#call(files) ⇒ Object



10
11
12
13
14
15
16
# File 'lib/l42/interfaces/to_random.rb', line 10

def call(files)
  Lab42::Rgxargs.new.parse(ARGV) => [kwds, args, *]
  [
    :stdout,
    files.map(&_random_file(args, kwds))
  ]
end