Class: Reporter::Record::Response::Note

Inherits:
Base
  • Object
show all
Defined in:
lib/reporter/record/response/note.rb

Overview

Public: Represents a response to a question with a note answer.

Call #value to get a String representing the value.

Instance Method Summary collapse

Methods inherited from Base

#==, #hash, #initialize

Constructor Details

This class inherits a constructor from Reporter::Record::Base

Instance Method Details

#valueObject Also known as: to_s

Public: Returns the value of this Response.

Returns a String representing the value of this Response.


13
14
15
# File 'lib/reporter/record/response/note.rb', line 13

def value
  @value ||= @data["textResponse"].to_s
end