a start on conditionals
This commit is contained in:
@ -4,6 +4,15 @@ module Vool
|
||||
def initialize(statements)
|
||||
@statements = statements
|
||||
end
|
||||
def empty?
|
||||
@statements.empty?
|
||||
end
|
||||
def single?
|
||||
@statements.length == 1
|
||||
end
|
||||
def first
|
||||
@statements.first
|
||||
end
|
||||
end
|
||||
|
||||
class ScopeStatement < Statements
|
||||
|
Reference in New Issue
Block a user