Adds support to length transformation

This commit is contained in:
Felipe Zimmerle 2015-10-23 11:02:31 -03:00
parent 8d78952e18
commit 7ab75ac015

View File

@ -37,15 +37,8 @@ Length::Length(std::string action)
std::string Length::evaluate(std::string value,
Assay *assay) {
/**
* @todo Implement the transformation Length
*/
if (assay) {
#ifndef NO_LOGS
assay->debug(4, "Transformation Length is not implemented yet.");
#endif
}
return value;
return std::to_string(value.size());
}
} // namespace transformations