Skip to content

Commit

Permalink
File CoreFills.
Browse files Browse the repository at this point in the history
  • Loading branch information
castwide committed Jan 18, 2020
1 parent e0f25f4 commit c904c93
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/solargraph/core_fills.rb
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ module CoreFills

Override.method_return('Enumerable#select', 'self'),

Override.method_return('File.absolute_path', 'String'),
Override.method_return('File.basename', 'String'),
Override.method_return('File.dirname', 'String'),
Override.method_return('File.extname', 'String'),
Override.method_return('File.join', 'String'),

Override.from_comment('Hash#[]', %(
@return_value_parameter
Expand Down

0 comments on commit c904c93

Please sign in to comment.