Class: Languages

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

Direct Known Subclasses

C, Cpp, Rb

Constant Summary collapse

ALL_LANGUAGES =
%w(rb cpp c)

Instance Method Summary collapse

Constructor Details

#initialize(solve_file) ⇒ Languages

Returns a new instance of Languages.



3
4
5
# File 'lib/atcoder_greedy/lib/languages.rb', line 3

def initialize(solve_file)
  @solve_file = solve_file
end

Instance Method Details

#compile(problem_name) ⇒ Object



7
8
9
# File 'lib/atcoder_greedy/lib/languages.rb', line 7

def compile(problem_name)
  raise 'Error: Not Implemented'
end

#execute(input_path, output_path) ⇒ Object



11
12
13
# File 'lib/atcoder_greedy/lib/languages.rb', line 11

def execute(input_path, output_path)
  raise 'Error: Not Implemented'
end