Module: Prawn::Text
- Defined in:
- lib/prawn_oval_text/oval.rb,
lib/prawn_oval_text/formatted/oval.rb
Defined Under Namespace
Modules: Formatted Classes: Oval
Instance Method Summary collapse
-
#text_oval(text, options = {}) ⇒ Object
textmust be UTF8-encoded.
Instance Method Details
#text_oval(text, options = {}) ⇒ Object
text must be UTF8-encoded.
52 53 54 |
# File 'lib/prawn_oval_text/oval.rb', line 52 def text_oval(text, ={}) Text::Oval.new(text, .merge(:document => self)).render end |