Sha256: 1c97d8c51da8a5925e1c92586da52aeea645fbd777f5c3c7652bfdb01bba6d25

Contents?: true

Size: 178 Bytes

Versions: 3

Compression:

Stored size: 178 Bytes

Contents

require_relative 'statement'

module Basic101

  class ReturnStatement < Statement

    def initialize
    end

    def execute(runtime)
      runtime.return
    end

  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
basic101-0.4.0 lib/basic101/return_statement.rb
basic101-0.2.0 lib/basic101/return_statement.rb
basic101-0.1.0 lib/basic101/return_statement.rb