Module: Reporter::Record::Response::BaseModule

Included in:
Base, Location
Defined in:
lib/reporter/record/response/base.rb

Overview

Allows the Base class to be mixed in as a Module, as well as

to be a parent class.

Instance Method Summary collapse

Instance Method Details

#question_promptObject

Public: Represents the prompt text of the question answered by

this Response.

Returns a String containing the prompt text of the question

answered by this Response.


14
15
16
# File 'lib/reporter/record/response/base.rb', line 14

def question_prompt
  @question_prompt ||= @data["questionPrompt"]
end