class Estreet::ReturnStatement

Public Class Methods

new(argument=nil) click to toggle source
# File lib/estreet/return_statement.rb, line 3
def initialize(argument=nil)
  @argument = argument.to_expression if argument
end

Public Instance Methods

attributes() click to toggle source
Calls superclass method
# File lib/estreet/return_statement.rb, line 7
def attributes
  super.merge(argument: @argument)
end