Method: Cabird::PrettyText#initialize
- Defined in:
- lib/pretty_text.rb
#initialize(text, public_path) ⇒ PrettyText
The constructor is used by the create factory method. You should not use it, but use the create method instead.
89 90 91 92 |
# File 'lib/pretty_text.rb', line 89 def initialize(text, public_path) @content = text @public_path = public_path end |