Class: Message::Placeholders

Inherits:
Object
  • Object
show all
Defined in:
lib/capistrano/teams/message/placeholders.rb

Overview

Placeholder

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#placeholdersObject (readonly)

Returns the value of attribute placeholders.



6
7
8
# File 'lib/capistrano/teams/message/placeholders.rb', line 6

def placeholders
  @placeholders
end