Class: Quby::Questionnaires::Entities::Questions::IntegerQuestion

Inherits:
Quby::Questionnaires::Entities::Question show all
Defined in:
lib/quby/questionnaires/entities/questions/integer_question.rb

Constant Summary

Constants inherited from Quby::Questionnaires::Entities::Question

Quby::Questionnaires::Entities::Question::MARKDOWN_ATTRIBUTES

Instance Attribute Summary

Attributes inherited from Quby::Questionnaires::Entities::Question

#allow_blank_titles, #allow_duplicate_option_values, #as, #autocomplete, #col_span, #cols, #context_free_title, #default_invisible, #default_position, #dependencies, #depends_on, #description, #deselectable, #disallow_bulk, #display_modes, #extra_data, #group_maximum_answered, #group_minimum_answered, #hidden, #input_data, #key, #labels, #lines, #maximum, #minimum, #options, #parent, #parent_option_key, #question_group, #questionnaire, #row_span, #sbg_key, #score_header, #sets_textvar, #show_values, #table, #title, #type, #unit, #validations

Attributes inherited from Item

#presentation, #raw_content, #switch_cycle

Instance Method Summary collapse

Methods inherited from Quby::Questionnaires::Entities::Question

#answer_keys, #as_json, #claimed_keys, #codebook_key, #codebook_output_range, #codebook_output_type, #hidden?, #html_id, #initialize, #input_keys, #key_in_use?, #set_depends_on, #show_values_in_mode?, #subquestion?, #subquestions, #to_codebook, #variable_descriptions, #view_selector

Methods inherited from Item

#as_json, #initialize, #to_codebook

Constructor Details

This class inherits a constructor from Quby::Questionnaires::Entities::Question

Instance Method Details

#sizeObject



8
9
10
# File 'lib/quby/questionnaires/entities/questions/integer_question.rb', line 8

def size
  @size || 30
end