Class: Acclir::AtCoder::Sample
- Inherits:
-
Object
- Object
- Acclir::AtCoder::Sample
- Defined in:
- lib/acclir/at_coder/sample.rb
Overview
Example problem input and output
Instance Attribute Summary collapse
-
#input ⇒ Object
readonly
Returns the value of attribute input.
-
#output ⇒ Object
readonly
Returns the value of attribute output.
Instance Method Summary collapse
-
#initialize(input, output) ⇒ Sample
constructor
A new instance of Sample.
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
#input ⇒ Object (readonly)
Returns the value of attribute input.
7 8 9 |
# File 'lib/acclir/at_coder/sample.rb', line 7 def input @input end |
#output ⇒ Object (readonly)
Returns the value of attribute output.
7 8 9 |
# File 'lib/acclir/at_coder/sample.rb', line 7 def output @output end |