1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

OCD symmetry

This commit is contained in:
Conrad Irwin 2011-12-27 23:04:30 +00:00
parent 1e0c7cfe2b
commit 5deaf35b39

View file

@ -98,16 +98,12 @@ class Pry
# are we on Jruby platform?
def jruby?
defined? JRUBY_VERSION
RbConfig::CONFIG['ruby_install_name'] == 'jruby'
end
# are we on rbx platform?
def rbx?
if RbConfig::CONFIG['ruby_install_name'] == 'rbx'
return true
end
nil
RbConfig::CONFIG['ruby_install_name'] == 'rbx'
end
# a simple pager for systems without `less`. A la windows.