class Estreet::WhileStatement
Public Class Methods
new(test, body)
click to toggle source
# File lib/estreet/loops.rb, line 3 def initialize(test, body) @test = test.to_expression @body = body.to_statement end
Public Instance Methods
attributes()
click to toggle source
Calls superclass method
# File lib/estreet/loops.rb, line 8 def attributes super.merge(test: @test, body: @body) end