Class: Gettc::Case

Inherits:
Object
  • Object
show all
Defined in:
lib/gettc/problem.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCase

Returns a new instance of Case.



5
6
7
8
9
# File 'lib/gettc/problem.rb', line 5

def initialize
  @input = ""
  @output = ""
  @reason = ""
end

Instance Attribute Details

#inputObject

Returns the value of attribute input.



3
4
5
# File 'lib/gettc/problem.rb', line 3

def input
  @input
end

#outputObject

Returns the value of attribute output.



3
4
5
# File 'lib/gettc/problem.rb', line 3

def output
  @output
end

#reasonObject

Returns the value of attribute reason.



3
4
5
# File 'lib/gettc/problem.rb', line 3

def reason
  @reason
end