enforces data encapsulation in vool tree
gets rid of attraccessor
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
module Vool
|
||||
class ReturnStatement < Statement
|
||||
attr_accessor :return_value
|
||||
attr_reader :return_value
|
||||
|
||||
def initialize(value)
|
||||
@return_value = value
|
||||
|
Reference in New Issue
Block a user