Class: Burr::Converter
Instance Attribute Summary collapse
-
#book ⇒ Object
Returns the value of attribute book.
Instance Method Summary collapse
- #convert(text) ⇒ Object
-
#initialize(book) ⇒ Converter
constructor
A new instance of Converter.
Constructor Details
#initialize(book) ⇒ Converter
Returns a new instance of Converter.
6 7 8 |
# File 'lib/burr/converter.rb', line 6 def initialize(book) @book = book end |
Instance Attribute Details
#book ⇒ Object
Returns the value of attribute book.
4 5 6 |
# File 'lib/burr/converter.rb', line 4 def book @book end |