Class: Luo::CLI::InitNotebook

Inherits:
InitBase
  • Object
show all
Defined in:
lib/luo/cli/init_notebook.rb

Instance Method Summary collapse

Methods inherited from InitBase

#copy_agents, #copy_env, #copy_files, #copy_test_file, #create_dirtories, source_root

Instance Method Details

#copy_gemfileObject



13
14
15
16
# File 'lib/luo/cli/init_notebook.rb', line 13

def copy_gemfile
  say "Copying Gemfile...", :green
  template "NotebookGemfile.erb", "Gemfile"
end

#copy_notebookObject



8
9
10
11
# File 'lib/luo/cli/init_notebook.rb', line 8

def copy_notebook
  say "Copying Notebook...", :green
  copy_file "luo.ipynb", "luo.ipynb"
end