Method: Component::Dropdown::Cell#initialize
- Defined in:
- app/cells/lato_view/component/dropdown/cell.rb
#initialize(links: [], title: '', open_text: nil) ⇒ Cell
Returns a new instance of Cell.
7 8 9 10 11 12 13 14 |
# File 'app/cells/lato_view/component/dropdown/cell.rb', line 7 def initialize(links: [], title: '', open_text: nil) # save params @links = links @title = title @open_text = open_text # check params check_params end |