Class: Chamomile::Layout::Raw

Inherits:
Base
  • Object
show all
Defined in:
lib/chamomile/layout/raw.rb

Instance Method Summary collapse

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