mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
OCD symmetry
This commit is contained in:
parent
1e0c7cfe2b
commit
5deaf35b39
1 changed files with 2 additions and 6 deletions
|
@ -98,16 +98,12 @@ class Pry
|
||||||
|
|
||||||
# are we on Jruby platform?
|
# are we on Jruby platform?
|
||||||
def jruby?
|
def jruby?
|
||||||
defined? JRUBY_VERSION
|
RbConfig::CONFIG['ruby_install_name'] == 'jruby'
|
||||||
end
|
end
|
||||||
|
|
||||||
# are we on rbx platform?
|
# are we on rbx platform?
|
||||||
def rbx?
|
def rbx?
|
||||||
if RbConfig::CONFIG['ruby_install_name'] == 'rbx'
|
RbConfig::CONFIG['ruby_install_name'] == 'rbx'
|
||||||
return true
|
|
||||||
end
|
|
||||||
|
|
||||||
nil
|
|
||||||
end
|
end
|
||||||
|
|
||||||
# a simple pager for systems without `less`. A la windows.
|
# a simple pager for systems without `less`. A la windows.
|
||||||
|
|
Loading…
Add table
Reference in a new issue