Class: RobotsFindKitten::NKI

Inherits:
Thing
  • Object
show all
Defined in:
lib/robotsfindkitten/nki.rb

Instance Attribute Summary collapse

Attributes inherited from Thing

#symbol, #x, #y

Instance Method Summary collapse

Constructor Details

#initializeNKI

Returns a new instance of NKI.



18
19
20
21
# File 'lib/robotsfindkitten/nki.rb', line 18

def initialize
  super
  @message = NKIS.sample
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message.



16
17
18
# File 'lib/robotsfindkitten/nki.rb', line 16

def message
  @message
end