Hello,
Is there an API call returning Ruby version on which the code is
running? Eg. the same information which is returned by running “ruby
–version” on command line? I cannot find one.
Thanks,
Karel
Hello,
Is there an API call returning Ruby version on which the code is
running? Eg. the same information which is returned by running “ruby
–version” on command line? I cannot find one.
Thanks,
Karel
The constant RUBY_VERSION.
regards,
Jan F.
Guest wrote:
The constant RUBY_VERSION.
regards,
Jan F.
Great! Thanks for your fast response
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs