mirror of
https://github.com/rails/execjs
synced 2023-03-27 23:21:20 -04:00
Eager detect runtime
This commit is contained in:
parent
ba34d8008b
commit
66abd81aa2
1 changed files with 3 additions and 0 deletions
|
@ -39,4 +39,7 @@ module ExecJS
|
|||
def self.windows?
|
||||
@windows ||= RbConfig::CONFIG["host_os"] =~ /mswin|mingw/
|
||||
end
|
||||
|
||||
# Eager detect runtime
|
||||
self.runtime
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue