lib/monolens/stdlib/str.rb in monolens-0.6.3 vs lib/monolens/stdlib/str.rb in monolens-0.6.4

- old
+ new

@@ -5,10 +5,15 @@ def downcase(options, registry) Downcase.new(options, registry) end module_function :downcase + def nullIfEmpty(options, registry) + NullIfEmpty.new(options, registry) + end + module_function :nullIfEmpty + def strip(options, registry) Strip.new(options, registry) end module_function :strip @@ -27,5 +32,6 @@ end require_relative 'str/downcase' require_relative 'str/strip' require_relative 'str/split' require_relative 'str/upcase' +require_relative 'str/null_if_empty'