Class: SinStruct::Mvc

Inherits:
Base
  • Object
show all
Defined in:
lib/prestruct/sinstruct.rb

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods included from FileContents::Sinatra

config, controller, gemfile, helpers, layout, model, spec, view

Methods included from FileContents

css, readme

Constructor Details

This class inherits a constructor from SinStruct::Base

Instance Method Details

#constructObject



52
53
54
55
56
57
58
59
# File 'lib/prestruct/sinstruct.rb', line 52

def construct
  @root = Folder.new(@project_name)
  build_app
  build_public
  build_specs
  build_loose_files
  @root.create
end