We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1b48994 commit 3050b76Copy full SHA for 3050b76
lib/bashly/extensions/string.rb
@@ -12,9 +12,9 @@ def indent(offset)
12
def to_underscore
13
gsub(/(.)([A-Z])/, '\1_\2').gsub(/[- ]/, '_').downcase
14
end
15
-
+
16
def to_path
17
- gsub(/ /, '/').downcase
+ tr(' ', '/').downcase
18
19
20
def wrap(length = 80)
spec/bashly/script/command_spec.rb
@@ -218,7 +218,7 @@
218
219
220
221
- context 'when settings.command_dir is set' do
+ context 'when settings.commands_dir is set' do
222
let(:fixture) { :docker_container_run }
223
224
before { Settings.commands_dir = 'commands' }
0 commit comments