lib/annotator/model.rb
# Update file with new database information
Update file with new database information
Update file with new database information
def update!
      parse
      return true if skipped?
      attributes = Attributes.new klass, @blocks[:attributes]
      attributes.update!
      @blocks[:attributes] = attributes.lines
      update_file
    end
def update! parse return true if skipped? attributes = Attributes . new klass , @blocks [ :attributes ] attributes . update! @blocks [ :attributes ] = attributes . lines update_file end
Update file with new database information
Update file with new database information