Class: LesliView::Elements::Empty
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- LesliView::Elements::Empty
- Defined in:
- lib/lesli_view/elements/empty.rb
Instance Method Summary collapse
-
#initialize(text: "No data found") ⇒ Empty
constructor
A new instance of Empty.
Constructor Details
#initialize(text: "No data found") ⇒ Empty
Returns a new instance of Empty.
35 36 37 |
# File 'lib/lesli_view/elements/empty.rb', line 35 def initialize(text: "No data found") @text = text end |