lib/prism/parse_result.rb in prism-1.0.0 vs lib/prism/parse_result.rb in prism-1.1.0
- old
+ new
@@ -153,10 +153,10 @@
byte_offset
end
# Specialized version of `code_units_column` that does not depend on
# `code_units_offset`, which is a more expensive operation. This is
- # essentialy the same as `Prism::Source#column`.
+ # essentially the same as `Prism::Source#column`.
def code_units_column(byte_offset, encoding)
byte_offset - line_start(byte_offset)
end
end