Class: Card::Generators::ModGenerator

Inherits:
NamedBase
  • Object
show all
Defined in:
card/lib/generators/card/mod/mod_generator.rb

Instance Method Summary collapse

Methods inherited from NamedBase

#mod_path

Methods included from ClassMethods

#banner, #source_root

Instance Method Details

#create_mod_treeObject



13
14
15
16
17
# File 'card/lib/generators/card/mod/mod_generator.rb', line 13

def create_mod_tree
  create_empty_tree mod_path => { lib: %i[javascript stylesheets],
                                  public: [:assets],
                                  set: [] }
end