Class: LineReplacementProperties

Inherits:
Object
  • Object
show all
Defined in:
lib/apollo_commons_ruby/TemplatesHelper.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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_pathObject (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_prefixObject (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_lineObject (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