lib/annlat/annlat.rb
def update
    return self if @options.empty?
    if @options[0].has_key?(:multiple_answer)
      @options[-1][:sentence_options] = {:multiple => true}
      @options.shift
    end
    self
  end
##
# This method it used for back-compatibility it will be removed once all concepts at
# the working platform would be updated to use new API
This method it used for back-compatibility it will be removed once all concepts at
the working platform would be updated to use new API
This method it used for back - compatibility it will be removed once all concepts at the working platform would be updated to use new API
def update
    return self if @options.empty?
    if @options[0].has_key?(:multiple_answer)
      @options[-1][:sentence_options] = {:multiple => true}
      @options.shift
    end
    self
  end
def update return self if @options . empty? if @options [ 0 ] . has_key? ( :multiple_answer ) @options [ - 1 ] [ :sentence_options ] = { :multiple => true } @options . shift end self end
This method it used for back-compatibility it will be removed once all concepts at
the working platform would be updated to use new API
This method it used for back - compatibility it will be removed once all concepts at the working platform would be updated to use new API