Returns the value of attribute x2.
27 28 29
# File 'lib/missile-command-ruby.rb', line 27 def x2 @x2 end