Class: Glaemscribe::API::Glaeml::Error

Inherits:
Object
  • Object
show all
Defined in:
lib/api/glaeml.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#lineObject

Returns the value of attribute line.



29
30
31
# File 'lib/api/glaeml.rb', line 29

def line
  @line
end

#textObject

Returns the value of attribute text.



28
29
30
# File 'lib/api/glaeml.rb', line 28

def text
  @text
end