Class: PreCommit::Checks::Migration::VersionedFile

Inherits:
Struct
  • Object
show all
Defined in:
lib/plugins/pre_commit/checks/migration.rb

Instance Attribute Summary collapse

Instance Attribute Details

#fileObject

Returns the value of attribute file

Returns:

  • (Object)

    the current value of file



8
9
10
# File 'lib/plugins/pre_commit/checks/migration.rb', line 8

def file
  @file
end

#versionObject

Returns the value of attribute version

Returns:

  • (Object)

    the current value of version



8
9
10
# File 'lib/plugins/pre_commit/checks/migration.rb', line 8

def version
  @version
end