aboutsummaryrefslogtreecommitdiff
path: root/lib/compilers/ruby.js
diff options
context:
space:
mode:
authorMatt Godbolt <matt@godbolt.org>2022-05-09 23:13:50 -0500
committerGitHub <noreply@github.com>2022-05-09 23:13:50 -0500
commitf2c1e0bd315fbce55582c440f2d3c8c922a5083a (patch)
treec726d7e1e56fe5b97db357dd0f8c9517c90ddaeb /lib/compilers/ruby.js
parent141fa735217859d5ebc2985c5eabd2a780246485 (diff)
downloadcompiler-explorer-f2c1e0bd315fbce55582c440f2d3c8c922a5083a.tar.gz
compiler-explorer-f2c1e0bd315fbce55582c440f2d3c8c922a5083a.zip
The Grand Reformat (#3643)gh-2830
* The Grand Reformat - everything made prettier...literally - some tweaks to include a few more files, including documentation - minor changes to format style - some tiny `// prettier-ignore` changes to keep a few things the way we like them - a couple of super minor tweaks to embedded document types to ensure they format correctly
Diffstat (limited to 'lib/compilers/ruby.js')
-rw-r--r--lib/compilers/ruby.js13
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/compilers/ruby.js b/lib/compilers/ruby.js
index af31f8d3d..f725601c4 100644
--- a/lib/compilers/ruby.js
+++ b/lib/compilers/ruby.js
@@ -24,13 +24,15 @@
import path from 'path';
-import { BaseCompiler } from '../base-compiler';
-import { resolvePathFromAppRoot } from '../utils';
+import {BaseCompiler} from '../base-compiler';
+import {resolvePathFromAppRoot} from '../utils';
-import { BaseParser } from './argument-parsers';
+import {BaseParser} from './argument-parsers';
export class RubyCompiler extends BaseCompiler {
- static get key() { return 'ruby'; }
+ static get key() {
+ return 'ruby';
+ }
constructor(compilerInfo, env) {
super(compilerInfo, env);
@@ -82,7 +84,8 @@ export class RubyCompiler extends BaseCompiler {
outputFilename,
'--fname',
path.basename(this.compileFilename),
- '--inputfile'];
+ '--inputfile',
+ ];
}
getArgumentParser() {