Class: Object

### Home Classes Methods

### In Files

- lib/daemons/etc_extension.rb

### Parent

BasicObject

### Methods

- #groupname
- #username

### Files

- README
- Releases
- TODO

### Class/Module Index

Quicksearch

- Daemons
- Daemons::Application
- Daemons::ApplicationGroup
- Daemons::CmdException
- Daemons::Controller
- Daemons::Error
- Daemons::Exception
- Daemons::Monitor
- Daemons::Optparse
- Daemons::Pid
- Daemons::PidFile
- Daemons::PidMem
- Daemons::RuntimeException
- Daemons::SystemError
- CurrentProcess
- Daemonize
- Object

No matching classes.

# Object

### Public Instance Methods

groupname(gid) click to toggle source

    # File lib/daemons/etc_extension.rb, line 4
    def groupname(gid)
      Etc.group {|e| return e.name if gid == e.gid }
      nil
    end

username(uid) click to toggle source

    # File lib/daemons/etc_extension.rb, line 8
    def username(uid)
      Etc.passwd {|e| return e.name if uid == e.uid }
      nil
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.