8 lines
280 B
Ruby
8 lines
280 B
Ruby
# frozen_string_literal: true
|
|
|
|
module NumberHelper
|
|
def number_with_html_delimiter(num)
|
|
# we are using the span delimiter that doesn't insert spaces when copying and pasting the number
|
|
number_with_delimiter(num, delimiter: tag.span(class: 'numbers-delimiter'))
|
|
end
|
|
end
|