Class: LesliView::Elements::Empty

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
lib/lesli_view/elements/empty.rb

Instance Method Summary collapse

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