Class Capistrano::Role
In: lib/capistrano/role.rb
Parent: Object

Methods

<<   clear   dynamic_servers   each   empty?   include?   new   push   servers   to_ary   wrap_list   wrap_server  

Included Modules

Enumerable

Classes and Modules

Class Capistrano::Role::DynamicServerList

Public Class methods

Protected Class methods

Turns a list, or something resembling a list, into a properly-formatted ServerDefinition list. Keep an eye on this one — it‘s entirely too magical for its own good. In particular, if ServerDefinition ever inherits from Array, this will break.

Wraps a string in a ServerDefinition, if it isn‘t already. This and wrap_list should probably go in ServerDefinition in some form.

Public Instance methods

<<(*list)

Alias for push

to_ary()

Alias for servers

Protected Instance methods

Attribute reader for the cached results of executing the blocks in turn

[Validate]