Class: Gettc::Image
- Inherits:
-
Object
- Object
- Gettc::Image
- Defined in:
- lib/gettc/problem.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
Returns the value of attribute content.
-
#name ⇒ Object
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize ⇒ Image
constructor
A new instance of Image.
Constructor Details
#initialize ⇒ Image
Returns a new instance of Image.
15 16 17 18 |
# File 'lib/gettc/problem.rb', line 15 def initialize @name = "" @content = "" end |
Instance Attribute Details
#content ⇒ Object
Returns the value of attribute content.
13 14 15 |
# File 'lib/gettc/problem.rb', line 13 def content @content end |
#name ⇒ Object
Returns the value of attribute name.
13 14 15 |
# File 'lib/gettc/problem.rb', line 13 def name @name end |