-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
When a group/object/array is executed in the context of anything that does not have a .it, it becomes the entire context.
The following examples should work:
make_lower: {it.lower}
make_lower "Some string" # "some string"
make_lower {it: "Some string"} # "some string"make_title: {title: it.title}
make_title "Some string" # {title: "Some String"}
make_title {it: "Some string"} # {title: "Some String"}make_upper: [it.upper]
make_upper "Some string" # ["SOME STRING"]
make_upper {it: "Some string"} # ["SOME STRING"]