lib/groupdocs/questionnaire/question.rb in groupdocs-0.2.10 vs lib/groupdocs/questionnaire/question.rb in groupdocs-0.2.11
- old
+ new
@@ -19,9 +19,13 @@
# @attr [Symbol] type
attr_accessor :type
# @attr [Array<Hash>] answers
attr_accessor :answers
+ # Human-readable accessors
+ alias_method :default_answer, :def_answer
+ alias_method :default_answer=, :def_answer=
+
#
# Converts each answer to GroupDocs::Questionnaire::Question::Answer object.
#
# @param [Array<Hash>] answers
#