Class: Bits::PosixUser
Instance Method Summary collapse
Instance Method Details
#superuser? ⇒ Boolean
9 10 11 |
# File 'lib/bits/user.rb', line 9 def superuser? Process.uid == 0 end |
9 10 11 |
# File 'lib/bits/user.rb', line 9 def superuser? Process.uid == 0 end |