Skip to content

Commit 7525447

Browse files
committed
Merge ExtraFileObject optimization upstream
1 parent aa089e5 commit 7525447

File tree

2 files changed

+1
-11
lines changed

2 files changed

+1
-11
lines changed

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
GIT
22
remote: https://github.com/lsegal/yard.git
3-
revision: efb33b5411f54ae491c10ce5cd227fa49b985fde
3+
revision: 9b0c0fdbf68654b783f40f04b115dd007f6226c6
44
branch: main
55
specs:
66
yard (0.9.37)

config/initializers/rubydoc.rb

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,16 +115,6 @@ def call(object)
115115
retval
116116
end
117117
end
118-
119-
module CodeObjects
120-
class ExtraFileObject
121-
def translate(data)
122-
return data if locale.nil?
123-
text = YARD::I18n::Text.new(data, have_header: true)
124-
text.translate(YARD::Registry.locale(locale))
125-
end
126-
end
127-
end
128118
end
129119
end
130120

0 commit comments

Comments
 (0)