Class: RubynCode::Megaplan::InterviewSession::Question

Inherits:
Data
  • Object
show all
Defined in:
lib/rubyn_code/megaplan/interview_session.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id

Returns:

  • (Object)

    the current value of id



30
31
32
# File 'lib/rubyn_code/megaplan/interview_session.rb', line 30

def id
  @id
end

#optionsObject (readonly)

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



30
31
32
# File 'lib/rubyn_code/megaplan/interview_session.rb', line 30

def options
  @options
end

#textObject (readonly)

Returns the value of attribute text

Returns:

  • (Object)

    the current value of text



30
31
32
# File 'lib/rubyn_code/megaplan/interview_session.rb', line 30

def text
  @text
end

Instance Method Details

#open?Boolean

Returns:

  • (Boolean)


31
# File 'lib/rubyn_code/megaplan/interview_session.rb', line 31

def open? = options.nil? || options.empty?