Class: Lotus::Commands::DB::Version

Inherits:
Abstract
  • Object
show all
Defined in:
lib/lotus/commands/db/version.rb

Overview

Since:

  • 0.1.0

Instance Attribute Summary

Attributes inherited from Abstract

#environment

Instance Method Summary collapse

Methods inherited from Abstract

#initialize

Constructor Details

This class inherits a constructor from Lotus::Commands::DB::Abstract

Instance Method Details

#startObject

Since:

  • 0.1.0



7
8
9
10
# File 'lib/lotus/commands/db/version.rb', line 7

def start
  require 'lotus/model/migrator'
  puts Lotus::Model::Migrator.version
end