Class: PhlexIcons::Base
- Inherits:
-
Phlex::SVG
- Object
- Phlex::SVG
- PhlexIcons::Base
- Defined in:
- lib/phlex-icons/base.rb
Direct Known Subclasses
Flag::Ad, Flag::Ae, Flag::Af, Flag::Ag, Flag::Ai, Flag::Al, Flag::Am, Flag::Ao, Flag::Aq, Flag::Ar, Flag::Arab, Flag::As, Flag::At, Flag::Au, Flag::Aw, Flag::Ax, Flag::Az, Flag::Ba, Flag::Base, Flag::Bb, Flag::Bd, Flag::Be, Flag::Bf, Flag::Bg, Flag::Bh, Flag::Bi, Flag::Bj, Flag::Bl, Flag::Bm, Flag::Bn, Flag::Bo, Flag::Bq, Flag::Br, Flag::Bs, Flag::Bt, Flag::Bv, Flag::Bw, Flag::By, Flag::Bz, Flag::Ca, Flag::Cc, Flag::Cd, Flag::Cf, Flag::Cg, Flag::Ch, Flag::Ci, Flag::Ck, Flag::Cl, Flag::Cm, Flag::Cn, Flag::Co, Flag::Cp, Flag::Cr, Flag::Cu, Flag::Cv, Flag::Cw, Flag::Cx, Flag::Cy, Flag::Cz, Flag::De, Flag::Dg, Flag::Dj, Flag::Dk, Flag::Dm, Flag::Do, Flag::Dz, Flag::Eac, Flag::Ec, Flag::Ee, Flag::Eg, Flag::Eh, Flag::Er, Flag::Es, Flag::Et, Flag::Eu, Flag::Fi, Flag::Fj, Flag::Fk, Flag::Fm, Flag::Fo, Flag::Fr, Flag::Ga, Flag::Gb, Flag::Gd, Flag::Ge, Flag::Gf, Flag::Gg, Flag::Gh, Flag::Gi, Flag::Gl, Flag::Gm, Flag::Gn, Flag::Gp, Flag::Gq, Flag::Gr, Flag::Gs, Flag::Gt, Flag::Gu, Flag::Gw, Flag::Gy, Flag::Hk, Flag::Hm, Flag::Hn, Flag::Hr, Flag::Ht, Flag::Hu, Flag::Ic, Flag::Id, Flag::Ie, Flag::Il, Flag::Im, Flag::In, Flag::Io, Flag::Iq, Flag::Ir, Flag::Is, Flag::It, Flag::Je, Flag::Jm, Flag::Jo, Flag::Jp, Flag::Ke, Flag::Kg, Flag::Kh, Flag::Ki, Flag::Km, Flag::Kn, Flag::Kp, Flag::Kr, Flag::Kw, Flag::Ky, Flag::Kz, Flag::La, Flag::Lb, Flag::Lc, Flag::Li, Flag::Lk, Flag::Lr, Flag::Ls, Flag::Lt, Flag::Lu, Flag::Lv, Flag::Ly, Flag::Ma, Flag::Mc, Flag::Md, Flag::Me, Flag::Mf, Flag::Mg, Flag::Mh, Flag::Mk, Flag::Ml, Flag::Mm, Flag::Mn, Flag::Mo, Flag::Mp, Flag::Mq, Flag::Mr, Flag::Ms, Flag::Mt, Flag::Mu, Flag::Mv, Flag::Mw, Flag::Mx, Flag::My, Flag::Mz, Flag::Na, Flag::Nc, Flag::Ne, Flag::Nf, Flag::Ng, Flag::Ni, Flag::Nl, Flag::No, Flag::Np, Flag::Nr, Flag::Nu, Flag::Nz, Flag::Om, Flag::Pa, Flag::Pc, Flag::Pe, Flag::Pf, Flag::Pg, Flag::Ph, Flag::Pk, Flag::Pl, Flag::Pm, Flag::Pn, Flag::Pr, Flag::Ps, Flag::Pt, Flag::Pw, Flag::Py, Flag::Qa, Flag::Re, Flag::Ro, Flag::Rs, Flag::Ru, Flag::Rw, Flag::Sa, Flag::Sb, Flag::Sc, Flag::Sd, Flag::Se, Flag::Sg, Flag::Sh, Flag::Si, Flag::Sj, Flag::Sk, Flag::Sl, Flag::Sm, Flag::Sn, Flag::So, Flag::Sr, Flag::Ss, Flag::St, Flag::Sv, Flag::Sx, Flag::Sy, Flag::Sz, Flag::Tc, Flag::Td, Flag::Tf, Flag::Tg, Flag::Th, Flag::Tj, Flag::Tk, Flag::Tl, Flag::Tm, Flag::Tn, Flag::To, Flag::Tr, Flag::Tt, Flag::Tv, Flag::Tw, Flag::Tz, Flag::Ua, Flag::Ug, Flag::Um, Flag::Un, Flag::Us, Flag::Uy, Flag::Uz, Flag::Va, Flag::Vc, Flag::Ve, Flag::Vg, Flag::Vi, Flag::Vn, Flag::Vu, Flag::Wf, Flag::Ws, Flag::Xk, Flag::Xx, Flag::Ye, Flag::Yt, Flag::Za, Flag::Zm, Flag::Zw
Instance Attribute Summary collapse
-
#attrs ⇒ Object
readonly
Returns the value of attribute attrs.
Instance Method Summary collapse
-
#initialize(**attrs) ⇒ Base
constructor
A new instance of Base.
- #view_template ⇒ Object
Constructor Details
#initialize(**attrs) ⇒ Base
Returns a new instance of Base.
7 8 9 10 11 12 |
# File 'lib/phlex-icons/base.rb', line 7 def initialize(**attrs) @attrs = attrs attrs[:class] ||= PhlexIcons.configuration.default_classes super() end |
Instance Attribute Details
#attrs ⇒ Object (readonly)
Returns the value of attribute attrs.
5 6 7 |
# File 'lib/phlex-icons/base.rb', line 5 def attrs @attrs end |
Instance Method Details
#view_template ⇒ Object
14 15 16 |
# File 'lib/phlex-icons/base.rb', line 14 def view_template send(variant) if respond_to?(variant) end |