Class: SchemaExtractor::Mysql::Extractor
- Inherits:
-
Object
- Object
- SchemaExtractor::Mysql::Extractor
- Defined in:
- lib/schema_extractor/mysql/extractor.rb
Instance Attribute Summary collapse
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
- #extract ⇒ Object
-
#initialize(options) ⇒ Extractor
constructor
A new instance of Extractor.
Constructor Details
#initialize(options) ⇒ Extractor
Returns a new instance of Extractor.
17 18 19 |
# File 'lib/schema_extractor/mysql/extractor.rb', line 17 def initialize() = end |
Instance Attribute Details
#options ⇒ Object (readonly)
Returns the value of attribute options.
15 16 17 |
# File 'lib/schema_extractor/mysql/extractor.rb', line 15 def end |
Instance Method Details
#extract ⇒ Object
21 22 23 |
# File 'lib/schema_extractor/mysql/extractor.rb', line 21 def extract tables.map { |t| get_schema(t) } end |