Class: Struct::Passwd
- Inherits:
-
Rubinius::FFI::Struct
- Object
- Rubinius::FFI::Struct
- Struct::Passwd
- Defined in:
- lib/etc.rb
Overview
This file is generated FFI::FileProcessor from etc.rb.ffi.
Instance Method Summary collapse
- #dir ⇒ Object
- #gecos ⇒ Object
- #gid ⇒ Object
- #name ⇒ Object
- #passwd ⇒ Object
- #shell ⇒ Object
- #uid ⇒ Object
Instance Method Details
#dir ⇒ Object
24 |
# File 'lib/etc.rb', line 24 def dir; self[:pw_dir]; end |
#gecos ⇒ Object
23 |
# File 'lib/etc.rb', line 23 def gecos; self[:pw_gecos]; end |
#gid ⇒ Object
22 |
# File 'lib/etc.rb', line 22 def gid; self[:pw_gid]; end |
#name ⇒ Object
19 |
# File 'lib/etc.rb', line 19 def name; self[:pw_name]; end |
#passwd ⇒ Object
20 |
# File 'lib/etc.rb', line 20 def passwd; self[:pw_passwd]; end |
#shell ⇒ Object
25 |
# File 'lib/etc.rb', line 25 def shell; self[:pw_shell]; end |
#uid ⇒ Object
21 |
# File 'lib/etc.rb', line 21 def uid; self[:pw_uid]; end |