Class: RubyCritic::SourceControlSystem::PerforceStats

Inherits:
Struct
  • Object
show all
Defined in:
lib/rubycritic/source_control_systems/perforce.rb

Instance Attribute Summary collapse

Instance Attribute Details

#filenameObject

Returns the value of attribute filename

Returns:

  • (Object)

    the current value of filename


7
8
9
# File 'lib/rubycritic/source_control_systems/perforce.rb', line 7

def filename
  @filename
end

#headObject

Returns the value of attribute head

Returns:

  • (Object)

    the current value of head


7
8
9
# File 'lib/rubycritic/source_control_systems/perforce.rb', line 7

def head
  @head
end

#last_commitObject

Returns the value of attribute last_commit

Returns:

  • (Object)

    the current value of last_commit


7
8
9
# File 'lib/rubycritic/source_control_systems/perforce.rb', line 7

def last_commit
  @last_commit
end

#opened?Object

Returns the value of attribute opened?

Returns:

  • (Object)

    the current value of opened?


7
8
9
# File 'lib/rubycritic/source_control_systems/perforce.rb', line 7

def opened?
  @opened?
end

#revisionObject

Returns the value of attribute revision

Returns:

  • (Object)

    the current value of revision


7
8
9
# File 'lib/rubycritic/source_control_systems/perforce.rb', line 7

def revision
  @revision
end