Class: Husky::Responder

Inherits:
SimpleDelegator
  • Object
show all
Extended by:
AfterDo
Defined in:
lib/husky/responder.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(context) ⇒ Responder

Returns a new instance of Responder.



12
13
14
15
# File 'lib/husky/responder.rb', line 12

def initialize(context)
  @context = context
  super
end

Instance Attribute Details

#contextObject (readonly)

Returns the value of attribute context.



10
11
12
# File 'lib/husky/responder.rb', line 10

def context
  @context
end