Sha256: f56791f3300df27f371e89fb1ed920d5997056bcec2e121ac584c0f3d883a8a2

Contents?: true

Size: 162 Bytes

Versions: 4

Compression:

Stored size: 162 Bytes

Contents

class ChangeDatabase < Struct.new(:backend, :session, :database)
  def execute
    backend.current_database = database
    session[:database] = database
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
redis_monitor-0.3.3 lib/engine/app/lib/commands/change_database.rb
redis_monitor-0.3.2 lib/engine/app/lib/commands/change_database.rb
redis_monitor-0.3 lib/engine/app/lib/commands/change_database.rb
redis_monitor-0.2.1 lib/engine/app/lib/commands/change_database.rb