summaryrefslogtreecommitdiff
path: root/lib/bundler/source
diff options
context:
space:
mode:
authorYusuke Endoh <mame@ruby-lang.org>2019-08-16 11:36:47 +0900
committerYusuke Endoh <mame@ruby-lang.org>2019-08-16 11:36:47 +0900
commitcd41378ef906c279ee925a0f5d6ba3bf606953db (patch)
tree7e8279001640bdaf890be3b276095165f1343582 /lib/bundler/source
parent64bffddda1d57072a7879dfab9e5bc0286c1395d (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