README.md in grumlin-0.20.0 vs README.md in grumlin-0.20.1

- old
+ new

@@ -78,12 +78,11 @@ **Shortcuts** is a way to share and organize gremlin code. They let developers define their own steps consisting of sequences of standard gremlin steps, other shortcuts and even add new initially unsupported by Grumlin steps. Remember ActiveRecord scopes? Shortcuts are very similar. **Important**: if a shortcut's name matches a name of a method defined on the wrapped object, this shortcut will be -be ignored because methods have higher priority. You cannot override supported by Grumlin steps with shortcuts, -`Grumlin::Shortcuts.shortcut` will raise an `ArgumentError`. Please carefully choose names for your shortcuts. +be ignored because methods have higher priority. Shortcuts are designed to be used with `Grumlin::Repository` but still can be used separately, with `Grumlin::Sugar` for example. **Defining**: @@ -141,11 +140,11 @@ .toList end end ``` -##### Overriding standard steps +##### Overriding standard steps and shortcuts Sometimes it may be useful to override standard steps. Grumlin does not allow it by default, but one is still able to override standard steps if they know what they are doing: ```ruby @@ -154,9 +153,11 @@ end ``` This will create a new shortcut that overrides the standard step `addV` and adds default properties to all vertices created by the repository that uses this shortcut. + +Shortcuts also can be overridden, but super() is not available. #### Grumlin::Repository `Grumlin::Repository` combines functionality of `Grumlin::Sugar` and `Grumlin::Shortcuts` as well as adds a few useful shortcuts to make gremlin code more rubyish. Can be used as a drop in replacement for `Grumlin::Sugar`. Remember that `Grumlin::Sugar` needs to be included, but `Grumlin::Repository` - extended. **Classes extending `Grumlin::Repository`