summaryrefslogtreecommitdiff
path: root/lib/pry/code
diff options
context:
space:
mode:
authorKyrylo Silin <silin@kyrylo.org>2019-03-02 13:22:03 +0200
committerKyrylo Silin <silin@kyrylo.org>2019-03-02 13:22:03 +0200
commitb26ca78613121f46325f58f68457bb3eb09082f6 (patch)
tree5f88c700d373431b0826130a759c31e56f6e2e33 /lib/pry/code
parent085a3c207fb5d77ca2a11107eaac0ee101a3e2ad (diff)
downloadpry-b26ca78613121f46325f58f68457bb3eb09082f6.tar.gz
rubocop: fix offences of the Style/PercentLiteralDelimiters cop
Diffstat (limited to 'lib/pry/code')
-rw-r--r--lib/pry/code/code_file.rb30
1 files changed, 15 insertions, 15 deletions
diff --git a/lib/pry/code/code_file.rb b/lib/pry/code/code_file.rb
index cad46c92..fe025cba 100644
--- a/lib/pry/code/code_file.rb
+++ b/lib/pry/code/code_file.rb
@@ -5,24 +5,24 @@ class Pry
# List of all supported languages.
# @return [Hash]
EXTENSIONS = {
- %w(.py) => :python,
- %w(.js) => :javascript,
- %w(.css) => :css,
- %w(.xml) => :xml,
- %w(.php) => :php,
- %w(.html) => :html,
- %w(.diff) => :diff,
- %w(.java) => :java,
- %w(.json) => :json,
- %w(.c .h) => :c,
- %w(.rhtml) => :rhtml,
- %w(.yaml .yml) => :yaml,
- %w(.cpp .hpp .cc .h .cxx) => :cpp,
- %w(.rb .ru .irbrc .gemspec .pryrc .rake) => :ruby,
+ %w[.py] => :python,
+ %w[.js] => :javascript,
+ %w[.css] => :css,
+ %w[.xml] => :xml,
+ %w[.php] => :php,
+ %w[.html] => :html,
+ %w[.diff] => :diff,
+ %w[.java] => :java,
+ %w[.json] => :json,
+ %w[.c .h] => :c,
+ %w[.rhtml] => :rhtml,
+ %w[.yaml .yml] => :yaml,
+ %w[.cpp .hpp .cc .h .cxx] => :cpp,
+ %w[.rb .ru .irbrc .gemspec .pryrc .rake] => :ruby,
}.freeze
FILES = {
- %w(Gemfile Rakefile Guardfile Capfile) => :ruby
+ %w[Gemfile Rakefile Guardfile Capfile] => :ruby
}.freeze
# Store the current working directory. This allows show-source etc. to work if