Class: TurboTest::StaticAnalysis::ActiveRecord::Snapshot
- Inherits:
-
Struct
- Object
- Struct
- TurboTest::StaticAnalysis::ActiveRecord::Snapshot
- Defined in:
- lib/turbo_test_static_analysis/active_record_schema/snapshot.rb
Instance Attribute Summary collapse
-
#extensions ⇒ Object
Returns the value of attribute extensions.
-
#tables ⇒ Object
Returns the value of attribute tables.
Instance Method Summary collapse
-
#initialize ⇒ Snapshot
constructor
A new instance of Snapshot.
Constructor Details
#initialize ⇒ Snapshot
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
#extensions ⇒ Object
Returns the value of attribute extensions
6 7 8 |
# File 'lib/turbo_test_static_analysis/active_record_schema/snapshot.rb', line 6 def extensions @extensions end |
#tables ⇒ Object
Returns the value of attribute tables
6 7 8 |
# File 'lib/turbo_test_static_analysis/active_record_schema/snapshot.rb', line 6 def tables @tables end |