rubyx/lib/vool/statements/variables.rb
Torsten Ruger db8f99409b move vool statements into own directory
also tests for guard to work
2017-04-06 19:11:11 +03:00

25 lines
346 B
Ruby

module Vool
module Named
attr_reader :name
def initialize name
@name = name
end
end
class LocalVariable < Statement
include Named
end
class InstanceVariable < Statement
include Named
end
class ClassVariable < Statement
include Named
end
class ModuleName < Statement
include Named
end
end