Class: Glaemscribe::API::Glaeml::Error
- Inherits:
-
Object
- Object
- Glaemscribe::API::Glaeml::Error
- Defined in:
- lib/api/glaeml.rb
Instance Attribute Summary collapse
-
#line ⇒ Object
Returns the value of attribute line.
-
#text ⇒ Object
Returns the value of attribute text.
Instance Method Summary collapse
-
#initialize(line, text) ⇒ Error
constructor
A new instance of Error.
Constructor Details
#initialize(line, text) ⇒ Error
Returns a new instance of Error.
31 32 33 34 |
# File 'lib/api/glaeml.rb', line 31 def initialize(line,text) @line = line @text = text end |
Instance Attribute Details
#line ⇒ Object
Returns the value of attribute line.
29 30 31 |
# File 'lib/api/glaeml.rb', line 29 def line @line end |
#text ⇒ Object
Returns the value of attribute text.
28 29 30 |
# File 'lib/api/glaeml.rb', line 28 def text @text end |