Class: Capistrano3::Notification::Adapter
- Inherits:
-
Object
- Object
- Capistrano3::Notification::Adapter
- Extended by:
- Forwardable
- Defined in:
- lib/capistrano3/notification/adapter.rb
Instance Attribute Summary collapse
-
#env ⇒ Object
readonly
Returns the value of attribute env.
Instance Method Summary collapse
-
#initialize(env) ⇒ Adapter
constructor
A new instance of Adapter.
- #notify(_message) ⇒ Object
Constructor Details
#initialize(env) ⇒ Adapter
Returns a new instance of Adapter.
10 11 12 |
# File 'lib/capistrano3/notification/adapter.rb', line 10 def initialize(env) @env = env end |
Instance Attribute Details
#env ⇒ Object (readonly)
Returns the value of attribute env.
7 8 9 |
# File 'lib/capistrano3/notification/adapter.rb', line 7 def env @env end |
Instance Method Details
#notify(_message) ⇒ Object
14 15 16 |
# File 'lib/capistrano3/notification/adapter.rb', line 14 def notify() raise 'this is abstract class' end |