Class: Components::DropdownDivider

Inherits:
Base
  • Object
show all
Includes:
Phlex::Rails::Helpers::LinkTo
Defined in:
app/components/dropdown_divider.rb

Instance Method Summary collapse

Constructor Details

#initialize ⇒ DropdownDivider

Returns a new instance of DropdownDivider.



6
7
# File 'app/components/dropdown_divider.rb', line 6

def initialize
end

Instance Method Details

#view_template ⇒ Object



9
10
11
# File 'app/components/dropdown_divider.rb', line 9

def view_template
  li(role: "presentation") { hr class: "dropdown-divider" }
end