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



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

def filename
  @filename
end

#headObject

Returns the value of attribute head

Returns:

  • (Object)

    the current value of head



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

def head
  @head
end

#last_commitObject

Returns the value of attribute last_commit

Returns:

  • (Object)

    the current value of last_commit



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

def last_commit
  @last_commit
end

#opened?Object

Returns the value of attribute opened?

Returns:

  • (Object)

    the current value of opened?



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

def opened?
  @opened?
end

#revisionObject

Returns the value of attribute revision

Returns:

  • (Object)

    the current value of revision



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

def revision
  @revision
end