adds method_statement to vool
This commit is contained in:
10
lib/vool/method_statement.rb
Normal file
10
lib/vool/method_statement.rb
Normal 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
|
Reference in New Issue
Block a user