Class: PatienceDiff::Html::HeaderHelper
- Inherits:
-
Object
- Object
- PatienceDiff::Html::HeaderHelper
- Includes:
- Escaping
- Defined in:
- lib/patience_diff/html/header_helper.rb
Instance Attribute Summary collapse
-
#header_id ⇒ Object
Returns the value of attribute header_id.
-
#left_header ⇒ Object
Returns the value of attribute left_header.
-
#right_header ⇒ Object
Returns the value of attribute right_header.
Instance Method Summary collapse
-
#initialize(left_header, right_header, header_id) ⇒ HeaderHelper
constructor
A new instance of HeaderHelper.
Methods included from Escaping
Constructor Details
#initialize(left_header, right_header, header_id) ⇒ HeaderHelper
Returns a new instance of HeaderHelper.
9 10 11 12 13 |
# File 'lib/patience_diff/html/header_helper.rb', line 9 def initialize(left_header, right_header, header_id) @left_header = left_header @right_header = right_header @header_id = header_id end |
Instance Attribute Details
#header_id ⇒ Object
Returns the value of attribute header_id.
7 8 9 |
# File 'lib/patience_diff/html/header_helper.rb', line 7 def header_id @header_id end |
#left_header ⇒ Object
Returns the value of attribute left_header.
7 8 9 |
# File 'lib/patience_diff/html/header_helper.rb', line 7 def left_header @left_header end |
#right_header ⇒ Object
Returns the value of attribute right_header.
7 8 9 |
# File 'lib/patience_diff/html/header_helper.rb', line 7 def right_header @right_header end |