Module: Capistrano::Campfire

Defined in:
lib/capistrano/campfire.rb

Defined Under Namespace

Classes: RoomCollection

Class Method Summary collapse

Class Method Details

.extended(configuration) ⇒ Object



59
60
61
62
63
64
65
66
67
68
69
70
71
# File 'lib/capistrano/campfire.rb', line 59

def self.extended(configuration)
  configuration.load do
    set :campfire_options, {}

    set :campfire_room do
      RoomCollection.new(campfire_options)
    end

    set :campfire_rooms do
      RoomCollection.new(campfire_options)
    end
  end
end