Module: Rabbit::Element::BlockElement

Instance Method Summary collapse

Instance Method Details

#adjust_y_padding(y, h) ⇒ Object


33
34
35
36
37
# File 'lib/rabbit/element/block-element.rb', line 33

def adjust_y_padding(y, h)
  y += @padding_bottom
  h -= @padding_bottom
  [y, h]
end

#inline_element?Boolean

Returns:

  • (Boolean)

29
30
31
# File 'lib/rabbit/element/block-element.rb', line 29

def inline_element?
  false
end