Class: Struct::Passwd

Inherits:
Rubinius::FFI::Struct
  • Object
show all
Defined in:
lib/etc.rb

Overview

This file is generated FFI::FileProcessor from etc.rb.ffi.

Instance Method Summary collapse

Instance Method Details

#dirObject



24
# File 'lib/etc.rb', line 24

def dir; self[:pw_dir]; end

#gecosObject



23
# File 'lib/etc.rb', line 23

def gecos; self[:pw_gecos]; end

#gidObject



22
# File 'lib/etc.rb', line 22

def gid; self[:pw_gid]; end

#nameObject



19
# File 'lib/etc.rb', line 19

def name; self[:pw_name]; end

#passwdObject



20
# File 'lib/etc.rb', line 20

def passwd; self[:pw_passwd]; end

#shellObject



25
# File 'lib/etc.rb', line 25

def shell; self[:pw_shell]; end

#uidObject



21
# File 'lib/etc.rb', line 21

def uid; self[:pw_uid]; end