Module refinery.units.strings.cupper

Expand source code Browse git
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
from .. import Unit


class cupper(Unit):
    """
    Transforms the input data to uppercase.
    """
    def process(self, data):
        return data.upper()

Classes

class cupper

Transforms the input data to uppercase.

Expand source code Browse git
class cupper(Unit):
    """
    Transforms the input data to uppercase.
    """
    def process(self, data):
        return data.upper()

Ancestors

Inherited members