Class: Generators::Avo::DashboardGenerator

Inherits:
NamedBaseGenerator
  • Object
show all
Defined in:
lib/generators/avo/dashboard_generator.rb

Instance Method Summary collapse

Methods inherited from NamedBaseGenerator

#initialize

Constructor Details

This class inherits a constructor from Generators::Avo::NamedBaseGenerator

Instance Method Details

#handleObject



11
12
13
# File 'lib/generators/avo/dashboard_generator.rb', line 11

def handle
  template "dashboards/dashboard.tt", "app/avo/dashboards/#{name.underscore}.rb"
end