Class: Acclir::AtCoder::Sample

Inherits:
Object
  • Object
show all
Defined in:
lib/acclir/at_coder/sample.rb

Overview

Example problem input and output

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(input, output) ⇒ Sample

Returns a new instance of Sample.



9
10
11
12
# File 'lib/acclir/at_coder/sample.rb', line 9

def initialize(input, output)
  @input = input
  @output = output
end

Instance Attribute Details

#inputObject (readonly)

Returns the value of attribute input.



7
8
9
# File 'lib/acclir/at_coder/sample.rb', line 7

def input
  @input
end

#outputObject (readonly)

Returns the value of attribute output.



7
8
9
# File 'lib/acclir/at_coder/sample.rb', line 7

def output
  @output
end