class Buff::Config::Base
Attributes
path[RW]
Public Class Methods
new(path = nil, attributes = {})
click to toggle source
@param [String] path @param [Hash] attributes
# File lib/buff/config.rb, line 21 def initialize(path = nil, attributes = {}) @path = File.expand_path(path) if path mass_assign(attributes) end
Public Instance Methods
to_hash()
click to toggle source
Calls superclass method
# File lib/buff/config.rb, line 27 def to_hash super.deep_symbolize_keys end