Skip to content

Commit 1c4dedc

Browse files
alexdowadmbj
authored andcommitted
Spelling fixes
1 parent d806d84 commit 1c4dedc

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

lib/unparser/cli/source.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def success?
1818
!error
1919
end
2020

21-
# Build generateg source
21+
# Build generated source
2222
#
2323
# @param [Parser::AST::Node]
2424
#

lib/unparser/emitter.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ def visit_plain(node)
196196
emitter.write_to_buffer
197197
end
198198

199-
# Visit ambigous node
199+
# Visit ambiguous node
200200
#
201201
# @param [Parser::AST::Node] node
202202
#

lib/unparser/preprocessor.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def visited_children
8383
end
8484
end
8585

86-
# Noop preprocessor that just passes through noode.
86+
# Noop preprocessor that just passes node through.
8787
class Noop < self
8888

8989
register :int
@@ -101,7 +101,7 @@ def result
101101

102102
end # Noop
103103

104-
# Preprocessor transforming numeric nodes with infinity as value to round trippable aequivalent.
104+
# Preprocessor transforming numeric nodes with infinity as value to round trippable equivalent.
105105
class Infinity < self
106106

107107
register :float
@@ -113,7 +113,7 @@ class Infinity < self
113113
#
114114
# @param [Parser::AST::Node]
115115
#
116-
# @api pirvate
116+
# @api private
117117
#
118118
def result
119119
value = node.children.first

0 commit comments

Comments
 (0)