Class: ERBLint::Linters::TwoColumnLayoutMigrationCounter::Column

Inherits:
Object
  • Object
show all
Defined in:
lib/yattho/view_components/linters/two_column_layout_migration_counter.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(widths, tag_tree) ⇒ Column

Returns a new instance of Column.



46
47
48
49
# File 'lib/yattho/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_treeObject (readonly)

Returns the value of attribute tag_tree.



44
45
46
# File 'lib/yattho/view_components/linters/two_column_layout_migration_counter.rb', line 44

def tag_tree
  @tag_tree
end

#widthsObject (readonly)

Returns the value of attribute widths.



44
45
46
# File 'lib/yattho/view_components/linters/two_column_layout_migration_counter.rb', line 44

def widths
  @widths
end