Skip to content
This repository has been archived by the owner on Dec 24, 2023. It is now read-only.

Commit

Permalink
Renamed "." to "access"
Browse files Browse the repository at this point in the history
  • Loading branch information
deathbeam committed May 2, 2016
1 parent 3d98334 commit b2bc4c5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/spoon/util/ast_extensions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ def to_b
def to_op
str = trim

# Special
return "access" if str == "."

# Assign and update
return "assign" if str == "="
return "addition assign" if str == "+="
Expand Down

0 comments on commit b2bc4c5

Please sign in to comment.