Closed lidimayra closed 7 years ago
should
** Similar to what had already been done in #42 with _parserspec
Before:
After:
before
let
Usage of instance variable is an anti-pattern. Usage of lets are more efficient. Ref: http://www.betterspecs.org/#let
lets
cool, thanks! @vizvamitra please take a look.
1 - Remove old
should
syntax from _filespec** Similar to what had already been done in #42 with _parserspec
Before:
After:
2 - Replace instance variables defined in
before
block withlet
sUsage of instance variable is an anti-pattern. Usage of
lets
are more efficient. Ref: http://www.betterspecs.org/#letBefore:
After: