Class: TableSetting::Column
- Inherits:
-
Object
- Object
- TableSetting::Column
- Defined in:
- lib/table_setting/column.rb
Instance Attribute Summary collapse
-
#method_token ⇒ Object
readonly
Returns the value of attribute method_token.
-
#style_options ⇒ Object
readonly
Returns the value of attribute style_options.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title, method_token, options = {}) ⇒ Column
constructor
A new instance of Column.
Constructor Details
#initialize(title, method_token, options = {}) ⇒ Column
Returns a new instance of Column.
4 5 6 7 8 |
# File 'lib/table_setting/column.rb', line 4 def initialize(title, method_token, = {}) @title = title @method_token = method_token @style_options = end |
Instance Attribute Details
#method_token ⇒ Object (readonly)
Returns the value of attribute method_token.
2 3 4 |
# File 'lib/table_setting/column.rb', line 2 def method_token @method_token end |
#style_options ⇒ Object (readonly)
Returns the value of attribute style_options.
2 3 4 |
# File 'lib/table_setting/column.rb', line 2 def @style_options end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
2 3 4 |
# File 'lib/table_setting/column.rb', line 2 def title @title end |