Package org.jruby.ext.etc
Class RubyEtc
java.lang.Object
org.jruby.ext.etc.RubyEtc
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRubyObjectconfstr(ThreadContext context, IRubyObject recv, IRubyObject arg) static RubyModulecreateEtcModule(Ruby runtime) private static voiddefineGroupStruct(Ruby runtime) private static voiddefinePasswdStruct(Ruby runtime) static IRubyObjectendgrent(IRubyObject recv) static IRubyObjectendpwent(IRubyObject recv) static IRubyObjectgetgrent(IRubyObject recv) static IRubyObjectgetgrgid(IRubyObject recv, IRubyObject[] args) static IRubyObjectgetgrnam(IRubyObject recv, IRubyObject name) static IRubyObjectgetlogin(IRubyObject recv) static IRubyObjectgetpwent(IRubyObject recv) static IRubyObjectgetpwnam(IRubyObject recv, IRubyObject name) static IRubyObjectgetpwuid(IRubyObject recv, IRubyObject[] args) static IRubyObjectgroup(IRubyObject recv, Block block) private static IRubyObjectintoStringArray(Ruby runtime, String[] members) static IRubyObjectnprocessors(ThreadContext context, IRubyObject recv) static IRubyObjectpasswd(IRubyObject recv, Block block) static IRubyObjectsetgrent(IRubyObject recv) static IRubyObjectsetpwent(IRubyObject recv) private static IRubyObjectsetupGroup(Ruby runtime, jnr.posix.Group group) private static IRubyObjectsetupPasswd(Ruby runtime, jnr.posix.Passwd passwd) static IRubyObjectsysconf(ThreadContext context, IRubyObject recv, IRubyObject arg) static IRubyObjectsysconfdir(ThreadContext context, IRubyObject recv) static IRubyObjectsystmpdir(ThreadContext context, IRubyObject recv) static IRubyObjectuname(ThreadContext context, IRubyObject self)
-
Field Details
-
iteratingPasswd
-
-
Constructor Details
-
RubyEtc
public RubyEtc()
-
-
Method Details
-
createEtcModule
-
definePasswdStruct
-
defineGroupStruct
-
setupPasswd
-
setupGroup
-
intoStringArray
-
sysconf
-
confstr
-
getpwuid
-
getpwnam
-
passwd
-
getlogin
-
endpwent
-
setpwent
-
getpwent
-
getgrnam
-
getgrgid
-
endgrent
-
setgrent
-
group
-
getgrent
-
systmpdir
-
sysconfdir
-
nprocessors
-
uname
-