Skip to content

Commit 91b4080

Browse files
committed
Merge pull request #74 from ujjwalt/patch-1
Fixed typo in condition exposure section of README
2 parents 3faf5ef + 0f6b2a7 commit 91b4080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ expose :ip, if: { type: :full }
8686

8787
expose :ip, if: lambda { |instance, options| options[:type] == :full } # exposed if the function evaluates to true
8888
expose :ip, if: :type # exposed if :type is available in the options hash
89-
expose :ip, if { type: :full } # exposed if options :type has a value of :full
89+
expose :ip, if: { type: :full } # exposed if options :type has a value of :full
9090

9191
expose :ip, unless: ... # the opposite of :if
9292
```

0 commit comments

Comments
 (0)