Class: TurboTest::StaticAnalysis::ActiveRecord::Snapshot

Inherits:
Struct
  • Object
show all
Defined in:
lib/turbo_test_static_analysis/active_record_schema/snapshot.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSnapshot

Returns a new instance of Snapshot.



7
8
9
10
11
# File 'lib/turbo_test_static_analysis/active_record_schema/snapshot.rb', line 7

def initialize(*)
  super
  self.extensions ||= {}
  self.tables ||= {}
end

Instance Attribute Details

#extensionsObject

Returns the value of attribute extensions

Returns:

  • (Object)

    the current value of extensions



6
7
8
# File 'lib/turbo_test_static_analysis/active_record_schema/snapshot.rb', line 6

def extensions
  @extensions
end

#tablesObject

Returns the value of attribute tables

Returns:

  • (Object)

    the current value of tables



6
7
8
# File 'lib/turbo_test_static_analysis/active_record_schema/snapshot.rb', line 6

def tables
  @tables
end