Skip to content

Commit aba6e9c

Browse files
committed
Really try to nodoc ffi module
The previous approach was wrong, to nodoc the class methods it must be specified at the module itself. As a result, the private methods like `dump_options` are also removed.
1 parent f1db5b2 commit aba6e9c

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
@@ -12,7 +12,7 @@
1212
# autoloaded from within a non-main Ractor.
1313
require "prism/serialize" if defined?(Ractor)
1414

15-
module Prism
15+
module Prism # :nodoc:
1616
module LibRubyParser # :nodoc:
1717
extend FFI::Library
1818

@@ -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 # :nodoc:
236+
class << self
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) }

0 commit comments

Comments
 (0)