Class: Oynx::Oynx_CLI
- Inherits:
-
Thor
- Object
- Thor
- Oynx::Oynx_CLI
- Defined in:
- lib/oynx.rb
Instance Method Summary collapse
Instance Method Details
#new ⇒ Object
29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/oynx.rb', line 29 def new if [:default] then Oynx_Back.new.create_site() else config = {} config["name"] = [:name] if [:name] config["charset"] = [:charset] if [:charset] config["css"] = [:css] if not [:css] config["js"] = [:js] if not [:js] config["img"] = [:img] if not [:img] Oynx_Back.new(config).create_site end end |