1. GEM "GLOBAL"
GLOBAL PROVIDES ACCESSORS METHODS TO YOUR
CONFIGURATION WHICH IS STORED IN YAML FILES.
Created by Thomas Metzmacher / @tmetzmac
2. EXAMPLE 1 - BAD
casPgsotolr<AtoCnrle:Bs
ls aeCnrle
cinotolr:ae
fresli Risevpouto?
oc_s f al.n.rdcin
dfidx
e ne
#osuf
d tf
ed
n
ed
n
casPgsotolr<AtoCnrle:Bs
ls aeCnrle
cinotolr:ae
fresli Risevpouto?| Risevts?
oc_s f al.n.rdcin | al.n.et
dfidx
e ne
#osuf
d tf
ed
n
ed
n
3. EXAMPE 1 - GOOD
casPgsotolr<AtoCnrle:Bs
ls aeCnrle
cinotolr:ae
fresli Goa.s.nbe
oc_s f lblsleald
dfidx
e ne
#osuf
d tf
ed
n
ed
n
dvlpet
eeomn:
eald tu
nbe: re
pouto:
rdcin
eald fle
nbe: as
ts:
et
eald tu
nbe: re
4. EXAMPLE 2 - BAD
< i Risevpouto?%
% f al.n.rdcin >
<cittp=tx/aacit>
srp ye"etjvsrp"
stieu(ucin)vradcmn.raelmn(srp";
eTmotfnto({a =ouetcetEeet"cit)
vrbdcmn.eEeetBTgae"cit)0;
a =ouetgtlmnsyaNm(srp"[]
ascdcmn.oainpooo+/dn0ybggcodrn.e/ae/cit/43222
.r=ouetlcto.rtcl"/n56rar.lufotntpgssrps323/4
aayctu;.ye"etjvsrp"bprnNd.neteoeab} 1;
.sn=reatp=tx/aacit;.aetoeisrBfr(,), )
<srp>
/cit
< ed%
% n >
< i Risevpouto?| Risevsaig %
% f al.n.rdcin | al.n.tgn? >
<cittp=tx/aacit>
srp ye"etjvsrp"
stieu(ucin)vradcmn.raelmn(srp";
eTmotfnto({a =ouetcetEeet"cit)
vrbdcmn.eEeetBTgae"cit)0;
a =ouetgtlmnsyaNm(srp"[]
ascdcmn.oainpooo+/dn0ybggcodrn.e/ae/cit/43222
.r=ouetlcto.rtcl"/n56rar.lufotntpgssrps323/4
aayctu;.ye"etjvsrp"bprnNd.neteoeab} 1;
.sn=reatp=tx/aacit;.aetoeisrBfr(,), )
<srp>
/cit
< ed%
% n >
5. EXAMPLE 2 - BAD
< i Goa.aktn.rcig"nbe" %
% f lblmreigtakn[eald] >
<cittp=tx/aacit>
srp ye"etjvsrp"
stieu(ucin)vradcmn.raelmn(srp";
eTmotfnto({a =ouetcetEeet"cit)
vrbdcmn.eEeetBTgae"cit)0;
a =ouetgtlmnsyaNm(srp"[]
ascdcmn.oainpooo+/dn0ybggcodrn.e/ae/cit/43222
.r=ouetlcto.rtcl"/n56rar.lufotntpgssrps323/4
aayctu;.ye"etjvsrp"bprnNd.neteoeab} 1;
.sn=reatp=tx/aacit;.aetoeisrBfr(,), )
<srp>
/cit
< ed%
% n >
dvlpet
eeomn:
takn:
rcig
eald fle
nbe: as
pouto:
rdcin
takn:
rcig
eald tu
nbe: re
saig
tgn:
takn:
rcig
eald tu
nbe: re