Class: LineReplacementProperties
- Inherits:
-
Object
- Object
- LineReplacementProperties
- Defined in:
- lib/apollo_commons_ruby/TemplatesHelper.rb
Instance Attribute Summary collapse
-
#file_path ⇒ Object
readonly
Returns the value of attribute file_path.
-
#redundant_line_prefix ⇒ Object
readonly
Returns the value of attribute redundant_line_prefix.
-
#updated_line ⇒ Object
readonly
Returns the value of attribute updated_line.
Instance Method Summary collapse
-
#initialize(file_path, redundant_line_prefix, updated_line) ⇒ LineReplacementProperties
constructor
A new instance of LineReplacementProperties.
Constructor Details
#initialize(file_path, redundant_line_prefix, updated_line) ⇒ LineReplacementProperties
Returns a new instance of LineReplacementProperties.
45 46 47 48 49 |
# File 'lib/apollo_commons_ruby/TemplatesHelper.rb', line 45 def initialize(file_path, redundant_line_prefix, updated_line) @file_path = file_path @redundant_line_prefix = redundant_line_prefix @updated_line = updated_line end |
Instance Attribute Details
#file_path ⇒ Object (readonly)
Returns the value of attribute file_path.
41 42 43 |
# File 'lib/apollo_commons_ruby/TemplatesHelper.rb', line 41 def file_path @file_path end |
#redundant_line_prefix ⇒ Object (readonly)
Returns the value of attribute redundant_line_prefix.
42 43 44 |
# File 'lib/apollo_commons_ruby/TemplatesHelper.rb', line 42 def redundant_line_prefix @redundant_line_prefix end |
#updated_line ⇒ Object (readonly)
Returns the value of attribute updated_line.
43 44 45 |
# File 'lib/apollo_commons_ruby/TemplatesHelper.rb', line 43 def updated_line @updated_line end |