Sha256: 7951453b525c6bbbc4b75d20d6e1f668455294f211998b2c36457f5459b37d2e

Contents?: true

Size: 222 Bytes

Versions: 5

Compression:

Stored size: 222 Bytes

Contents

module Monolens
  module Str
    class Upcase
      include Lens

      signature(Type::String, Type::String)

      def call(arg, world = {})
        is_string!(arg, world)

        arg.upcase
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
monolens-0.6.4 lib/monolens/stdlib/str/upcase.rb
monolens-0.6.3 lib/monolens/stdlib/str/upcase.rb
monolens-0.6.2 lib/monolens/stdlib/str/upcase.rb
monolens-0.6.1 lib/monolens/stdlib/str/upcase.rb
monolens-0.6.0 lib/monolens/stdlib/str/upcase.rb