Module: LinuxStat::Uname

Defined in:
ext/utsname/utsname.c

Class Method Summary collapse

Class Method Details

.machine ⇒ Object



47
48
49
# File 'ext/utsname/utsname.c', line 47

static VALUE getMachine(VALUE obj) {
	return rb_str_new_cstr(machine) ;
}

.nodename ⇒ Object



35
36
37
# File 'ext/utsname/utsname.c', line 35

static VALUE getNodename(VALUE obj) {
	return rb_str_new_cstr(nodename) ;
}

.release ⇒ Object



39
40
41
# File 'ext/utsname/utsname.c', line 39

static VALUE getRelease(VALUE obj) {
	return rb_str_new_cstr(release) ;
}

.sysname ⇒ Object



31
32
33
# File 'ext/utsname/utsname.c', line 31

static VALUE getSysname(VALUE obj) {
	return rb_str_new_cstr(sysname) ;
}

.version ⇒ Object



43
44
45
# File 'ext/utsname/utsname.c', line 43

static VALUE getVersion(VALUE obj) {
	return rb_str_new_cstr(version) ;
}