thechrisoshow/rtf — Issue #10: Feature Request: Allow passing font information as Hash parameter
Author: shevegen
Created: 2012-02-05 08:40:41+00:00
State: open

Hi.

The README mentions this:

document = Document.new(Font.new(Font::ROMAN, 'Times New Roman'))

I think this is a bit cumbersome to type.

Would it be nicer if we allow something like:

document = Document.new( :font => 'Times New Roman' )

?

If so, I could try to check what would be required to make this happen.