Class: HakumiComponents::Table::EllipsisConfig::Simple
- Inherits:
-
HakumiComponents::Table::EllipsisConfig
- Object
- HakumiComponents::Table::EllipsisConfig
- HakumiComponents::Table::EllipsisConfig::Simple
- Extended by:
- T::Sig
- Defined in:
- app/components/hakumi_components/table/ellipsis_config.rb
Overview
Ellipsis active, no tooltip. show_title controls the HTML title attribute.
Constant Summary
Constants inherited from HakumiComponents::Table::EllipsisConfig
Instance Attribute Summary collapse
-
#show_title ⇒ Object
readonly
Returns the value of attribute show_title.
Instance Method Summary collapse
-
#initialize(show_title:) ⇒ Simple
constructor
A new instance of Simple.
Methods inherited from HakumiComponents::Table::EllipsisConfig
Constructor Details
#initialize(show_title:) ⇒ Simple
Returns a new instance of Simple.
51 52 53 |
# File 'app/components/hakumi_components/table/ellipsis_config.rb', line 51 def initialize(show_title:) @show_title = T.let(show_title, T::Boolean) end |
Instance Attribute Details
#show_title ⇒ Object (readonly)
Returns the value of attribute show_title.
56 57 58 |
# File 'app/components/hakumi_components/table/ellipsis_config.rb', line 56 def show_title @show_title end |