Class: Rb

Inherits:
Languages show all
Defined in:
lib/atcoder_greedy/lib/languages.rb

Constant Summary

Constants inherited from Languages

Languages::ALL_LANGUAGES

Instance Method Summary collapse

Methods inherited from Languages

#initialize

Constructor Details

This class inherits a constructor from Languages

Instance Method Details

#compile(problem_name) ⇒ Object



17
18
19
# File 'lib/atcoder_greedy/lib/languages.rb', line 17

def compile(problem_name)
  true
end

#execute(input_path, output_path) ⇒ Object



21
22
23
# File 'lib/atcoder_greedy/lib/languages.rb', line 21

def execute(input_path, output_path)
  system "ruby #{@solve_file} < #{input_path} > #{output_path}"
end