class Elastic::IndexGenerator
Public Instance Methods
create_index()
click to toggle source
# File lib/generators/elastic/index_generator.rb, line 6 def create_index template('index.rb', "app/indices/#{file_name.underscore}_index.rb") end