diff options
author | Yusuke Endoh <mame@ruby-lang.org> | 2019-08-16 11:36:47 +0900 |
---|---|---|
committer | Yusuke Endoh <mame@ruby-lang.org> | 2019-08-16 11:36:47 +0900 |
commit | cd41378ef906c279ee925a0f5d6ba3bf606953db (patch) | |
tree | 7e8279001640bdaf890be3b276095165f1343582 /lib/bundler/source | |
parent | 64bffddda1d57072a7879dfab9e5bc0286c1395d (diff) |
lib/rdoc/parser/ruby.rb: Avoid `.chars.to_a.last`
The code creates a lot of useless objects.
Instead, using a regexp is shorter and faster.
Diffstat (limited to 'lib/bundler/source')
0 files changed, 0 insertions, 0 deletions