Module: Kernel

Defined in:
lib/bane/configuration.rb

Overview

Helper method to easily create configuration.

This should likely take the constructor block from the Configuration class and then we can simplify this class so it’s not so big.

Instance Method Summary collapse

Instance Method Details

#Configuration(*args) ⇒ Object



47
48
49
# File 'lib/bane/configuration.rb', line 47

def Configuration(*args)
  Bane::Configuration.new(Bane::ConfigurationParser.new(*args).configurations)
end