Class: Chamomile::Layout::Raw
Instance Method Summary collapse
-
#initialize(string) ⇒ Raw
constructor
A new instance of Raw.
- #render(width:, height:) ⇒ Object
Constructor Details
#initialize(string) ⇒ Raw
Returns a new instance of Raw.
6 7 8 |
# File 'lib/chamomile/layout/raw.rb', line 6 def initialize(string) @string = string.to_s end |
Instance Method Details
#render(width:, height:) ⇒ Object
10 11 12 |
# File 'lib/chamomile/layout/raw.rb', line 10 def render(width:, height:) @string end |