Module: StringManipulation

Defined in:
lib/pipes/strings.rb

Class Method Summary collapse

Class Method Details

.capitalize(content, args) ⇒ Object



10
11
12
# File 'lib/pipes/strings.rb', line 10

def self.capitalize(content, args)
    content.capitalize
end

.downcase(content, args) ⇒ Object



6
7
8
# File 'lib/pipes/strings.rb', line 6

def self.downcase(content, args)
    content.downcase
end

.size(content, args) ⇒ Object



14
15
16
# File 'lib/pipes/strings.rb', line 14

def self.size(content, args)
    content.size
end

.uppercase(content, args) ⇒ Object



2
3
4
# File 'lib/pipes/strings.rb', line 2

def self.uppercase(content, args)
    content.upcase
end