Method: Buff::Config::Base#initialize

Defined in:
lib/buff/config.rb

#initialize(path = nil, attributes = {}) ⇒ Base



21
22
23
24
25
# File 'lib/buff/config.rb', line 21

def initialize(path = nil, attributes = {})
  @path = File.expand_path(path) if path

  mass_assign(attributes)
end