Class: Generators::Avo::VersionGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/avo/version_generator.rb

Instance Method Summary collapse

Instance Method Details

#handleObject



8
9
10
11
12
13
14
# File 'lib/generators/avo/version_generator.rb', line 8

def handle
  if defined? ::Avo::Engine
    output "Avo #{::Avo.configuration.license} #{::Avo::VERSION}"
  else
    output "Avo not installed."
  end
end