Class: Monark::Schema
- Inherits:
-
Object
- Object
- Monark::Schema
- Defined in:
- lib/monark/schema.rb
Overview
The Monark schema. Creates and updates the schema in an SQL database.
Instance Attribute Summary collapse
-
#context ⇒ Object
Returns the value of attribute context.
-
#next_migration ⇒ Object
Returns the value of attribute next_migration.
-
#version ⇒ Object
readonly
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize ⇒ Schema
constructor
A new instance of Schema.
Constructor Details
#initialize ⇒ Schema
Returns a new instance of Schema.
9 10 11 |
# File 'lib/monark/schema.rb', line 9 def initialize load_info end |
Instance Attribute Details
#context ⇒ Object
Returns the value of attribute context.
6 7 8 |
# File 'lib/monark/schema.rb', line 6 def context @context end |
#next_migration ⇒ Object
Returns the value of attribute next_migration.
7 8 9 |
# File 'lib/monark/schema.rb', line 7 def next_migration @next_migration end |
#version ⇒ Object (readonly)
Returns the value of attribute version.
7 8 9 |
# File 'lib/monark/schema.rb', line 7 def version @version end |