Module: Monolens::Str

Extended by:
Namespace
Defined in:
lib/monolens/stdlib/str.rb,
lib/monolens/stdlib/str/split.rb,
lib/monolens/stdlib/str/strip.rb,
lib/monolens/stdlib/str/upcase.rb,
lib/monolens/stdlib/str/downcase.rb,
lib/monolens/stdlib/str/null_if_empty.rb

Defined Under Namespace

Classes: Downcase, NullIfEmpty, Split, Strip, Upcase

Class Method Summary collapse

Methods included from Namespace

factor_lens

Class Method Details

.downcase(options, registry) ⇒ Object



5
6
7
# File 'lib/monolens/stdlib/str.rb', line 5

def downcase(options, registry)
  Downcase.new(options, registry)
end

.nullIfEmpty(options, registry) ⇒ Object



10
11
12
# File 'lib/monolens/stdlib/str.rb', line 10

def nullIfEmpty(options, registry)
  NullIfEmpty.new(options, registry)
end

.split(options, registry) ⇒ Object



20
21
22
# File 'lib/monolens/stdlib/str.rb', line 20

def split(options, registry)
  Split.new(options, registry)
end

.strip(options, registry) ⇒ Object



15
16
17
# File 'lib/monolens/stdlib/str.rb', line 15

def strip(options, registry)
  Strip.new(options, registry)
end

.upcase(options, registry) ⇒ Object



25
26
27
# File 'lib/monolens/stdlib/str.rb', line 25

def upcase(options, registry)
  Upcase.new(options, registry)
end