Class: HakumiComponents::Table::EllipsisConfig::Simple

Inherits:
HakumiComponents::Table::EllipsisConfig show all
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

Input, InputHash, InputValue

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from HakumiComponents::Table::EllipsisConfig

from_input

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_titleObject (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