Skip to content

Commit 33c3e8c

Browse files
committed
whitespace
1 parent 6fffcf2 commit 33c3e8c

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

lib/jruby_art/java_opts.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def initialize(sketch_root)
1212
@jvm_opts += Processing::RP_CONFIG['java_args'].split(/\s+/)
1313
end
1414
end
15-
15+
1616
# wrap java args for jruby
1717
def jruby
1818
return [] if jvm_opts.length == 0

lib/jruby_art/runner.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -118,20 +118,20 @@ def live(sketch, args)
118118
def watch(sketch, args)
119119
ensure_exists(sketch)
120120
spin_up('watch.rb', sketch, args)
121-
end
121+
end
122122

123-
def setup(choice)
123+
def setup(choice)
124124
return Check.new(K9_ROOT, host_os).install if choice =~ /check/
125125
return JRubyComplete.new(K9_ROOT, host_os).install if choice =~ /install/
126126
return UnpackSamples.new(K9_ROOT, host_os).install if choice =~ /unpack_sample/
127-
Installer.new(K9_ROOT, host_os).install
127+
Installer.new(K9_ROOT, host_os).install
128128
end
129129

130130
# Show the standard help/usage message.
131131
def show_help
132132
puts HELP_MESSAGE
133133
end
134-
134+
135135
def show_version
136136
puts format('JRubyArt version %s', JRubyArt::VERSION)
137137
end
@@ -168,7 +168,7 @@ def spin_up(starter_script, sketch, args)
168168
# exec replaces the Ruby process with the JRuby one.
169169
rescue Java::JavaLang::ClassNotFoundException
170170
end
171-
end
171+
end
172172

173173
# NB: We really do mean to use 'and' not '&&' for flow control purposes
174174

@@ -201,7 +201,7 @@ def host_os
201201
WIN_PATTERNS.find { |r| detect_os =~ r }
202202
raise "unknown os: #{detect_os.inspect}" if Regexp.last_match.nil?
203203
:windows
204-
end
204+
end
205205
end
206206
end # class Runner
207207
end # module Processing

0 commit comments

Comments
 (0)