Method: Vedeu::Presentation::Colour#render_colour
- Defined in:
- lib/vedeu/presentation/colour.rb
#render_colour(&block) ⇒ String (private)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Renders the colour attributes of the receiver and yields (to then render the styles).
139 140 141 |
# File 'lib/vedeu/presentation/colour.rb', line 139 def render_colour(&block) "#{colour}#{yield}" end |