Class: Oynx_Back
- Inherits:
-
Object
- Object
- Oynx_Back
- Defined in:
- lib/oynx/oynx_back.rb
Instance Attribute Summary collapse
-
#config ⇒ Object
writeonly
Sets the attribute config.
Instance Method Summary collapse
- #create_site ⇒ Object
-
#initialize(config = Web_Config.new) ⇒ Oynx_Back
constructor
A new instance of Oynx_Back.
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_site ⇒ Object
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 |