Skip to content

Commit cf2d1e4

Browse files
committed
Add missing nodocs for FFI
When generating docs in ruby/prism, this doesn't seem to matter. But on docs.ruby-lang.org these take over the actual documentation.
1 parent 55948fe commit cf2d1e4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/prism/ffi.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ def self.with_file(filepath)
233233
# The version constant is set by reading the result of calling pm_version.
234234
VERSION = LibRubyParser.pm_version.read_string.freeze
235235

236-
class << self
236+
class << self # :nodoc:
237237
# Mirror the Prism.dump API by using the serialization API.
238238
def dump(source, **options)
239239
LibRubyParser::PrismString.with_string(source) { |string| dump_common(string, options) }
@@ -554,7 +554,7 @@ def dump_options(options)
554554

555555
# Here we are going to patch StringQuery to put in the class-level methods so
556556
# that it can maintain a consistent interface
557-
class StringQuery
557+
class StringQuery # :nodoc:
558558
class << self
559559
# Mirrors the C extension's StringQuery::local? method.
560560
def local?(string)

0 commit comments

Comments
 (0)