Module: L42::Interfaces::WithTs

Extended by:
WithTs
Included in:
WithTs
Defined in:
lib/l42/interfaces/with_ts.rb

Instance Method Summary collapse

Instance Method Details

#call(file_name, dest_dir, *tags) ⇒ Object



7
8
9
10
11
12
# File 'lib/l42/interfaces/with_ts.rb', line 7

def call(file_name, dest_dir, *tags)
  [
    :stdout,
    %(mv #{file_name.inspect} #{File.join(dest_dir, _make_tagged_name(file_name, tags)).inspect})
  ]
end