Skip to content

Commit

Permalink
Showing 2 changed files with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1406,6 +1406,7 @@ private void initGlobalVariableAliases() {
m.put("$RS", "$/");
m.put("$INPUT_RECORD_SEPARATOR", "$/");
m.put("$>", "$stdout");
m.put("$PROGRAM_NAME", "$0");
}

@Override
1 change: 0 additions & 1 deletion truffle/src/main/ruby/core/shims.rb
Original file line number Diff line number Diff line change
@@ -180,7 +180,6 @@ module Math
DomainError = Errno::EDOM
end

$PROGRAM_NAME = $0
$$ = Process.pid

# IO::printf from Rubinius uses Rubinius::Sprinter

0 comments on commit 141efda

Please sign in to comment.