Skip to content

Commit 9e4bed2

Browse files
committed
Fix yard doc
1 parent b188b67 commit 9e4bed2

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

lib/ruby_header_parser/config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ module RubyHeaderParser
44
# Manager for config file
55
class Config
66
# @!attribute [r] data
7-
# @return [Hash]
7+
# @return [Hash]
88
attr_reader :data
99

1010
# @param config_file [String]

lib/ruby_header_parser/enum_definition.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class EnumDefinition
77
# @return [String]
88
attr_accessor :name
99

10-
# @!attribute enum_value_definitions
10+
# @!attribute values
1111
# @return [Array<String>]
1212
attr_accessor :values
1313

lib/ruby_header_parser/parser.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,19 @@ module RubyHeaderParser
44
# parse `ruby.h` using `ctags`
55
class Parser # rubocop:disable Metrics/ClassLength
66
# @!attribute [r] header_file
7-
# @return [String]
7+
# @return [String]
88
attr_reader :header_file
99

1010
# @!attribute [r] include_paths
11-
# @return [Array<String>]
11+
# @return [Array<String>]
1212
attr_reader :include_paths
1313

1414
# @!attribute [r] dist_preprocessed_header_file
15-
# @return [String]
15+
# @return [String]
1616
attr_reader :dist_preprocessed_header_file
1717

18-
# @!attribute [r] data
19-
# @return [RubyHeaderParser::Config]
18+
# @!attribute [r] config
19+
# @return [RubyHeaderParser::Config]
2020
attr_reader :config
2121

2222
DEFAULT_HEADER_FILE = "#{RbConfig::CONFIG["rubyhdrdir"]}/ruby.h".freeze

0 commit comments

Comments
 (0)