Class: Ruboty::Actions::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/ruboty/actions/base.rb

Direct Known Subclasses

Help, Ping, Whoami

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message) ⇒ Base

Returns a new instance of Base


6
7
8
# File 'lib/ruboty/actions/base.rb', line 6

def initialize(message)
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

Returns the value of attribute message


4
5
6
# File 'lib/ruboty/actions/base.rb', line 4

def message
  @message
end