Class: Oynx_Back

Inherits:
Object
  • Object
show all
Defined in:
lib/oynx/oynx_back.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(config = Web_Config.new) ⇒ Oynx_Back



6
7
8
9
# File 'lib/oynx/oynx_back.rb', line 6

def initialize(config = Web_Config.new)
  @config = config
  @root = nil
end

Instance Attribute Details

#config=(value) ⇒ Object (writeonly)

Sets the attribute config



4
5
6
# File 'lib/oynx/oynx_back.rb', line 4

def config=(value)
  @config = value
end

Instance Method Details

#create_siteObject



11
12
13
14
15
# File 'lib/oynx/oynx_back.rb', line 11

def create_site()
  create_root()
  create_inner_folders()
  create_file_stubs()
end