Class: Reporter::Record::Question::Placeholder

Inherits:
Base
  • Object
show all
Defined in:
lib/reporter/record/question/placeholder.rb

Overview

Public: Represents a Reporter survey question with a

placeholder answer.

Instance Method Summary collapse

Methods inherited from Base

#prompt

Methods inherited from Base

#==, #hash, #initialize

Constructor Details

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

Instance Method Details

#placeholder_stringObject

Public: Retrieves the placeholder string for this question.


10
11
12
# File 'lib/reporter/record/question/placeholder.rb', line 10

def placeholder_string
  @placeholder_string ||= @data["placeholderString"].to_s
end