lib/vedeu/editor/document.rb in vedeu-0.8.12 vs lib/vedeu/editor/document.rb in vedeu-0.8.13

- old
+ new

@@ -90,10 +90,10 @@ # currently positioned. # # @param character [String|Symbol] # @return [Vedeu::Editor::Document] def insert_character(character) - return self if character.is_a?(Symbol) + return self if symbol?(character) @lines = lines.insert_character(character, y, x) right