Class: Referral::Runner

Inherits:
Object
  • Object
show all
Defined in:
lib/referral/runner.rb

Instance Method Summary collapse

Instance Method Details

#call(options) ⇒ Object



8
9
10
11
12
13
14
15
16
17
18
# File 'lib/referral/runner.rb', line 8

def call(options)
  Value::Result.new(
    tokens: SortsTokens.new.call(
      FiltersTokens.new.call(
        ScansTokens.new.call(files: options.files),
        options
      ),
      options
    )
  )
end