Skip to content

Commit

Permalink
fix broken docs
Browse files Browse the repository at this point in the history
  • Loading branch information
oleander committed Dec 11, 2021
1 parent 79b1847 commit 96de2f4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/remap/base.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ module Remap
# class Mapper < Remap::Base
# define do
# each do
# map.if_not do
# map?.if_not do
# value.include?("B")
# end
# end
Expand All @@ -50,7 +50,7 @@ module Remap
# class Mapper < Remap::Base
# define do
# each do
# map.if do
# map?.if do
# value.include?("B")
# end
# end
Expand Down Expand Up @@ -85,15 +85,15 @@ module Remap
# Mapper.call({ people: [{ name: "John" }] }) # => { names: ["John"] }
#
# @example Map "Hello" to "Hello!"
# class Mapper < Remap::Base
# class HelloMapper < Remap::Base
# define do
# map.adjust do
# "#{value}!"
# end
# end
# end
#
# Mapper.call("Hello") # => "Hello!"
# HelloMapper.call("Hello") # => "Hello!"
#
# @example Select the second element from an array
# class Mapper < Remap::Base
Expand Down

0 comments on commit 96de2f4

Please sign in to comment.