Class: ERBLint::Linters::TwoColumnLayoutMigrationCounter::Column
- Inherits:
-
Object
- Object
- ERBLint::Linters::TwoColumnLayoutMigrationCounter::Column
- Defined in:
- lib/primer/view_components/linters/two_column_layout_migration_counter.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#tag_tree ⇒ Object
readonly
Returns the value of attribute tag_tree.
-
#widths ⇒ Object
readonly
Returns the value of attribute widths.
Instance Method Summary collapse
-
#initialize(widths, tag_tree) ⇒ Column
constructor
A new instance of Column.
Constructor Details
#initialize(widths, tag_tree) ⇒ Column
Returns a new instance of Column.
46 47 48 49 |
# File 'lib/primer/view_components/linters/two_column_layout_migration_counter.rb', line 46 def initialize(widths, tag_tree) @widths = widths @tag_tree = tag_tree end |
Instance Attribute Details
#tag_tree ⇒ Object (readonly)
Returns the value of attribute tag_tree.
44 45 46 |
# File 'lib/primer/view_components/linters/two_column_layout_migration_counter.rb', line 44 def tag_tree @tag_tree end |
#widths ⇒ Object (readonly)
Returns the value of attribute widths.
44 45 46 |
# File 'lib/primer/view_components/linters/two_column_layout_migration_counter.rb', line 44 def widths @widths end |