lib/buff/config/json.rb in buff-config-0.2.0 vs lib/buff/config/json.rb in buff-config-0.3.0

- old
+ new

@@ -10,9 +10,16 @@ # @return [Buff::Config::JSON] def from_json(data) new.from_json(data) end + # @param [Hash] hash + # + # @return [Buff::Config::JSON] + def from_hash(hash) + new.from_hash(hash) + end + # @param [String] path # # @raise [Buff::Errors::ConfigNotFound] # # @return [Buff::Config::JSON]