Sha256: bad878554a1b729b7f3899a06ef81eecc12a3926dd915b25fa4bd94d4e31fb08
Contents?: true
Size: 717 Bytes
Versions: 2
Compression:
Stored size: 717 Bytes
Contents
# frozen_string_literal: true def grab(atome_to_get) Universe.atomes[atome_to_get] end def box(params = {}, &proc) grab(:view).box(params, &proc) end def circle(params = {}, &proc) grab(:view).circle(params, &proc) end def text(params = {}, &bloc) grab(:view).text(params, &bloc) end def image(params = {}, &bloc) grab(:view).image(params, &bloc) end def video(params = {}, &bloc) grab(:view).video(params, &bloc) end def color(params = {}, &bloc) grab(:view).color(params, &bloc) end def element(params = {}, &bloc) grab(:view).element(params, &bloc) end def shadow(params = {}, &bloc) grab(:view).shadow(params, &bloc) end def web(params = {}, &bloc) grab(:view).web(params, bloc) end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
atome-0.5.1.9 | lib/atome/extensions/atome.rb |
atome-0.5.1.4 | lib/atome/extensions/atome.rb |