Class: Flatito::DiffParser::File

Inherits:
Struct
  • Object
show all
Defined in:
lib/flatito/diff_parser.rb

Instance Attribute Summary collapse

Instance Attribute Details

#added_linesObject

Returns the value of attribute added_lines

Returns:

  • (Object)

    the current value of added_lines



7
8
9
# File 'lib/flatito/diff_parser.rb', line 7

def added_lines
  @added_lines
end

#after_blobObject

Returns the value of attribute after_blob

Returns:

  • (Object)

    the current value of after_blob



7
8
9
# File 'lib/flatito/diff_parser.rb', line 7

def after_blob
  @after_blob
end

#after_pathObject

Returns the value of attribute after_path

Returns:

  • (Object)

    the current value of after_path



7
8
9
# File 'lib/flatito/diff_parser.rb', line 7

def after_path
  @after_path
end

#before_blobObject

Returns the value of attribute before_blob

Returns:

  • (Object)

    the current value of before_blob



7
8
9
# File 'lib/flatito/diff_parser.rb', line 7

def before_blob
  @before_blob
end

#before_pathObject

Returns the value of attribute before_path

Returns:

  • (Object)

    the current value of before_path



7
8
9
# File 'lib/flatito/diff_parser.rb', line 7

def before_path
  @before_path
end

#deleted_fileObject

Returns the value of attribute deleted_file

Returns:

  • (Object)

    the current value of deleted_file



7
8
9
# File 'lib/flatito/diff_parser.rb', line 7

def deleted_file
  @deleted_file
end

#hunksObject

Returns the value of attribute hunks

Returns:

  • (Object)

    the current value of hunks



7
8
9
# File 'lib/flatito/diff_parser.rb', line 7

def hunks
  @hunks
end

#new_fileObject

Returns the value of attribute new_file

Returns:

  • (Object)

    the current value of new_file



7
8
9
# File 'lib/flatito/diff_parser.rb', line 7

def new_file
  @new_file
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



7
8
9
# File 'lib/flatito/diff_parser.rb', line 7

def path
  @path
end

#removed_linesObject

Returns the value of attribute removed_lines

Returns:

  • (Object)

    the current value of removed_lines



7
8
9
# File 'lib/flatito/diff_parser.rb', line 7

def removed_lines
  @removed_lines
end