Class: AspellDictInfo

Inherits:
Object
  • Object
show all
Defined in:
ext/raspell.c

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.new(*args) ⇒ Object

CLASS METHODS============================================================



19
20
21
# File 'ext/raspell.c', line 19

static VALUE dictinfo_s_new(int argc, VALUE *argv, VALUE klass) {
    rb_raise(rb_eException, "not instantiable");
}

Instance Method Details

#codeObject



27
28
29
# File 'ext/raspell.c', line 27

static VALUE dictinfo_code(VALUE self) {
    return rb_str_new2(get_info(self)->code);
}

#jargonObject



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

static VALUE dictinfo_jargon(VALUE self) {
    return rb_str_new2(get_info(self)->jargon);
}

#nameObject

METHODS =================================================================



23
24
25
# File 'ext/raspell.c', line 23

static VALUE dictinfo_name(VALUE self) {
    return rb_str_new2(get_info(self)->name);
}

#sizeObject



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

static VALUE dictinfo_size(VALUE self) {
    return INT2FIX(get_info(self)->size);
}

#size_strObject



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

static VALUE dictinfo_size_str(VALUE self) {
    return rb_str_new2(get_info(self)->size_str);
}