class Bitcharts::ChartGenerator

Public Instance Methods

create_chart_model() click to toggle source
# File lib/generators/bitcharts/chart/chart_generator.rb, line 5
def create_chart_model
  template 'chart_model.rb', File.join('app/charts', class_path, "#{file_name}_chart.rb")
end