We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3faf5ef + 0f6b2a7 commit 91b4080Copy full SHA for 91b4080
README.md
@@ -86,7 +86,7 @@ expose :ip, if: { type: :full }
86
87
expose :ip, if: lambda { |instance, options| options[:type] == :full } # exposed if the function evaluates to true
88
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
+expose :ip, if: { type: :full } # exposed if options :type has a value of :full
90
91
expose :ip, unless: ... # the opposite of :if
92
```
0 commit comments