]> gitweb.fluxo.info Git - puppet-sshkeys_core.git/commit
Remove Rubocop Performance/Caller violation
authorJacob Helwig <jacob@technosorcery.net>
Mon, 25 Jun 2018 18:21:24 +0000 (11:21 -0700)
committerJacob Helwig <jacob@technosorcery.net>
Mon, 25 Jun 2018 18:26:53 +0000 (11:26 -0700)
commit0c845b50fba49390189b147eaf3269c078045c36
tree24b8f8e0f684407d76e894816a90357169d5586c
parent47e0571aace7e8222eb6f07ffe35419e07b6a491
Remove Rubocop Performance/Caller violation

Turns out that using `caller(n..n).first` is _significantly_ faster than
`caller[n]`.
spec/lib/puppet_spec/compiler.rb