Class: Protos::Command::Empty

Inherits:
Protos::Component show all
Defined in:
lib/protos/command/empty.rb

Instance Method Summary collapse

Methods inherited from Protos::Component

#initialize

Constructor Details

This class inherits a constructor from Protos::Component

Instance Method Details

#view_templateObject

DOCS: The empty component is displayed in the list when there are no matches in an input.



9
10
11
# File 'lib/protos/command/empty.rb', line 9

def view_template(&)
  li(**attrs, &)
end