Method: Codebot::Options::Network#create
- Defined in:
- lib/codebot/options/network.rb
#create(name) ⇒ Object
Creates a new network with the specified name.
57 58 59 60 61 |
# File 'lib/codebot/options/network.rb', line 57 def create(name) Options.with_core(, true) do |core| NetworkManager.new(core.config).create(.merge(name: name)) end end |