Skip to content

Commit

Permalink
#9 clean
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jul 31, 2023
1 parent 9ea74ed commit c3aae86
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/damsi/ticks.rb
Expand Up @@ -27,9 +27,11 @@ def initialize
@ticks = {}
end

def push(tick, msg)
# Add a message in properly formatted LaTeX. If the TeX syntax
# is broken, there will be a runtime problem later.
def push(tick, tex)
@ticks[tick] = [] if @ticks[tick].nil?
@ticks[tick].push(msg)
@ticks[tick].push(tex)
end

def to_latex(log)
Expand Down

0 comments on commit c3aae86

Please sign in to comment.