class Fidgit::MenuPane::Separator

Public Class Methods

new(options = {}) click to toggle source

@param (see Item#initialize)

@option (see Item#initialize)

Calls superclass method Fidgit::Label::new
# File lib/fidgit/elements/menu_pane.rb, line 52
def initialize(options = {})
  options = {
    height: default(:line_height),
    background_color: default(:background_color),
    padding: 0,
  }.merge! options

  super '', options
end