Class: Mkxms::Mssql::SchemaHandler
- Inherits:
-
Object
- Object
- Mkxms::Mssql::SchemaHandler
- Includes:
- PropertyHandler::ElementHandler
- Defined in:
- lib/mkxms/mssql/schema_handler.rb
Instance Method Summary collapse
-
#initialize(schemas, node) ⇒ SchemaHandler
constructor
A new instance of SchemaHandler.
Methods included from PropertyHandler::ElementHandler
Constructor Details
#initialize(schemas, node) ⇒ SchemaHandler
Returns a new instance of SchemaHandler.
32 33 34 35 36 37 |
# File 'lib/mkxms/mssql/schema_handler.rb', line 32 def initialize(schemas, node) @schema = Schema.new(node.attributes['name'], owner: node.attributes['owner']).tap do |s| store_properties_on s schemas << s end end |