OCD symmetry

This commit is contained in:
Conrad Irwin 2011-12-27 23:04:30 +00:00
parent 1e0c7cfe2b
commit 5deaf35b39
1 changed files with 2 additions and 6 deletions

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.