Class: Physicist::Laboratory::CreateScientist

Inherits:
Metacosm::Command
  • Object
show all
Defined in:
lib/physicist/laboratory/commands/create_scientist.rb

Instance Attribute Summary collapse

Instance Attribute Details

#nameObject

Returns the value of attribute name.



4
5
6
# File 'lib/physicist/laboratory/commands/create_scientist.rb', line 4

def name
  @name
end

#positionObject

Returns the value of attribute position.



4
5
6
# File 'lib/physicist/laboratory/commands/create_scientist.rb', line 4

def position
  @position
end

#scientist_idObject

Returns the value of attribute scientist_id.



4
5
6
# File 'lib/physicist/laboratory/commands/create_scientist.rb', line 4

def scientist_id
  @scientist_id
end

#titleObject

Returns the value of attribute title.



4
5
6
# File 'lib/physicist/laboratory/commands/create_scientist.rb', line 4

def title
  @title
end

#velocityObject

Returns the value of attribute velocity.



4
5
6
# File 'lib/physicist/laboratory/commands/create_scientist.rb', line 4

def velocity
  @velocity
end