"use strict";

var format= require('../string/format');
var forIn = require('mout/object/forIn');

module.exports =  function(that, mask, glue) {
  var out = [];
  forIn(that, function(v, k) {
    out.push( format(mask, k, v) );
  });

  return out.join(glue);
};
"use strict";

var format= require('../string/sprintf');
var forIn = require('mout/object/forIn');

module.exports =  function(that, mask, glue) {
  var out = [];
  forIn(that, function(v, k) {
    out.push( format(mask, k, v) );
  });

  return out.join(glue);
};
use sprintf for object mask