class Malvolio::Generators::CreateWithInkyGenerator

Public Instance Methods

create_config_file() click to toggle source
# File lib/generators/malvolio/create_with_inky_generator.rb, line 17
def create_config_file
        template "config.yaml", File.join(project_name, "config.yaml")
end
create_css_file() click to toggle source
# File lib/generators/malvolio/create_with_inky_generator.rb, line 13
def create_css_file
        directory "scss", File.join(project_name, "src", "scss")
end
create_dist_and_tmp_dirs() click to toggle source
# File lib/generators/malvolio/create_with_inky_generator.rb, line 21
def create_dist_and_tmp_dirs
        Dir.mkdir File.join(project_name, "dist")
        Dir.mkdir File.join(project_name, "tmp")
end
create_html_file() click to toggle source
# File lib/generators/malvolio/create_with_inky_generator.rb, line 9
def create_html_file
        template "index.html", File.join(project_name, "src", "index.html")
end