Method: Xmvc::Config.render
- Defined in:
- lib/xmvc/config.rb
.render ⇒ Object
67 68 69 70 71 72 73 74 |
# File 'lib/xmvc/config.rb', line 67 def render File.open("config/environment.json", "w") {|file| file << @configuration.to_json } #File.open("#{@configuration[:environment]}.json", "w") {|file| # file << @configuration.to_json #} end |