Class: Message::Placeholders
- Inherits:
-
Object
- Object
- Message::Placeholders
- Defined in:
- lib/capistrano/teams/message/placeholders.rb
Overview
Placeholder
Instance Attribute Summary collapse
-
#placeholders ⇒ Object
readonly
Returns the value of attribute placeholders.
Instance Method Summary collapse
-
#initialize(placeholders) ⇒ Placeholders
constructor
A new instance of Placeholders.
Constructor Details
#initialize(placeholders) ⇒ Placeholders
Returns a new instance of Placeholders.
8 9 10 |
# File 'lib/capistrano/teams/message/placeholders.rb', line 8 def initialize(placeholders) @placeholders = defaults.merge(placeholders) end |
Instance Attribute Details
#placeholders ⇒ Object (readonly)
Returns the value of attribute placeholders.
6 7 8 |
# File 'lib/capistrano/teams/message/placeholders.rb', line 6 def placeholders @placeholders end |