adds method_statement to vool

This commit is contained in:
Torsten Ruger
2017-04-01 16:27:32 +03:00
parent 295782d9e6
commit 34fdf7b2cd
7 changed files with 55 additions and 1 deletions

View File

@ -0,0 +1,10 @@
module Vool
class MethodStatement
attr_reader :name, :args , :body
def initialize( name , args , body)
@name , @args , @body = name , args , (body || [])
end
end
end