Class: TurboTest::StaticAnalysis::ActiveRecord::Map

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeMap

Returns a new instance of Map.



7
8
9
10
11
# File 'lib/turbo_test_static_analysis/active_record_schema/map.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/map.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/map.rb', line 6

def tables
  @tables
end