Class: Gettc::Case
- Inherits:
-
Object
- Object
- Gettc::Case
- Defined in:
- lib/gettc/problem.rb
Instance Attribute Summary collapse
-
#input ⇒ Object
Returns the value of attribute input.
-
#output ⇒ Object
Returns the value of attribute output.
-
#reason ⇒ Object
Returns the value of attribute reason.
Instance Method Summary collapse
-
#initialize ⇒ Case
constructor
A new instance of Case.
Constructor Details
#initialize ⇒ Case
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
#input ⇒ Object
Returns the value of attribute input.
3 4 5 |
# File 'lib/gettc/problem.rb', line 3 def input @input end |
#output ⇒ Object
Returns the value of attribute output.
3 4 5 |
# File 'lib/gettc/problem.rb', line 3 def output @output end |
#reason ⇒ Object
Returns the value of attribute reason.
3 4 5 |
# File 'lib/gettc/problem.rb', line 3 def reason @reason end |