Module: Exner::Rtf
- Defined in:
- lib/exner/rtf.rb,
lib/exner/rtf/zulliger.rb,
lib/exner/rtf/rorschach.rb
Defined Under Namespace
Modules: Rorschach, Zulliger
Instance Method Summary
collapse
Instance Method Details
#_cd(c) ⇒ Object
7
8
9
|
# File 'lib/exner/rtf.rb', line 7
def _cd(c)
c+" = "+_f['contenidos_1'][c].to_s+","+_f['contenidos_2'][c].to_s
end
|
#_dcp(c) ⇒ Object
4
5
6
|
# File 'lib/exner/rtf.rb', line 4
def _dcp(c)
_ds[c.gsub('C',"C'")]
end
|
#_ds ⇒ Object
17
18
19
|
# File 'lib/exner/rtf.rb', line 17
def _ds
determinantes_simples
end
|
#_lq(tipo) ⇒ Object
28
29
30
31
32
33
34
|
# File 'lib/exner/rtf.rb', line 28
def _lq(tipo)
s=''
Exner::FQ_VALIDAS.each {|fq|
s+=fq+":"+_f[tipo][fq].to_s+"\n\\par "
}
s
end
|
#_res_enf ⇒ Object
23
24
25
26
27
|
# File 'lib/exner/rtf.rb', line 23
def _res_enf
a=resumen_del_enfoque.collect {|lam|
Exner.a_romano(lam[0])+":"+lam[1].join(',')
}.join("\n\\par ")+"\n"
end
|
#detRtf ⇒ Object
10
11
12
13
14
15
16
|
# File 'lib/exner/rtf.rb', line 10
def detRtf
s=""
@respuestas.each {|n,r|
s+="\n\\par "+r.determinantes.join('.')+r.fq if r.determinantes.size>1
}
s
end
|
#ldq ⇒ Object
35
36
37
38
39
40
41
|
# File 'lib/exner/rtf.rb', line 35
def ldq
s=''
Exner::DQ_VALIDAS.each {|dq|
s+=dq+":"+_f['dq'][dq].to_s+"\n\\par "
}
s
end
|
#superscript(a) ⇒ Object
20
21
22
|
# File 'lib/exner/rtf.rb', line 20
def superscript(a)
'{{\*\updnprop5801}\up8 '+a+'}'
end
|