Skip to content

Commit 9f426c5

Browse files
committed
s/parseable/parsable/
1 parent d121e84 commit 9f426c5

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

docs/WhatsNew.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ methods are defined dynamically and not associated with any code.
9292
#### New `@!parse` directive to parse Ruby code
9393

9494
A new {tag:!parse} directive was added that allows a developer to have
95-
YARD parse code that might not necessarily be parseable in its original
95+
YARD parse code that might not necessarily be parsable in its original
9696
form. This is useful when using `instance_eval` and other dynamic
9797
meta-programming techniques to define methods or perform functionality.
9898
For instance, a common case of the "self.included" callback in module

lib/yard/tags/tag.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ def type
5858
end
5959

6060
# Provides a plain English summary of the type specification, or nil
61-
# if no types are provided or parseable.
61+
# if no types are provided or parsable.
6262
#
6363
# @return [String] a plain English description of the associated types
64-
# @return [nil] if no types are provided or not parseable
64+
# @return [nil] if no types are provided or not parsable
6565
def explain_types
6666
return nil if !types || types.empty?
6767
TypesExplainer.explain(*types)

lib/yard/tags/types_explainer.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ def self.explain(*types)
1313
end
1414

1515
# (see explain)
16-
# @raise [SyntaxError] if the types are not parseable
16+
# @raise [SyntaxError] if the types are not parsable
1717
def self.explain!(*types)
1818
Parser.parse(types.join(", ")).join("; ")
1919
end

po/ja.po

+1-1
Original file line numberDiff line numberDiff line change
@@ -7124,7 +7124,7 @@ msgstr "#### Rubyのコードを解析する為の新しい `@!parse` ディレ
71247124
#: ../docs/WhatsNew.md:87
71257125
msgid ""
71267126
"A new {tag:!parse} directive was added that allows a developer to have\n"
7127-
"YARD parse code that might not necessarily be parseable in its original\n"
7127+
"YARD parse code that might not necessarily be parsable in its original\n"
71287128
"form. This is useful when using `instance_eval` and other dynamic\n"
71297129
"meta-programming techniques to define methods or perform functionality.\n"
71307130
"For instance, a common case of the \"self.included\" callback in module\n"

spec/handlers/dsl_handler_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@
210210
eof
211211
end
212212

213-
it "warns on unparseable DSL statements" do
213+
it "warns on unparsable DSL statements" do
214214
undoc_error "private(*foo(bar))"
215215
end if HAVE_RIPPER
216216

spec/tags/library_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def tag(docstring)
4141
expect(tag("@return").explain_types).to eq nil
4242
end
4343

44-
it "returns nil if types are not parseable" do
44+
it "returns nil if types are not parsable" do
4545
expect(tag("@return [$]").explain_types).to eq nil
4646
end
4747
end

0 commit comments

Comments
 (0)