rename callable to CallStatement

Callable is the Method, whereas here we call the method
This commit is contained in:
Torsten Ruger
2018-07-30 14:44:14 +03:00
parent 9c6a099cde
commit 198a43cc8d
5 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
module Ruby
class YieldStatement < Callable
class YieldStatement < CallStatement
def initialize(arguments)
super("yield_#{object_id}".to_sym , SelfExpression.new , arguments)