Sha256: eefe512abbdeb063dbed5050dc20e296707c9b5998b3d9a71dd7cf7f47ba866f

Contents?: true

Size: 392 Bytes

Versions: 3

Compression:

Stored size: 392 Bytes

Contents

class Cranium::DSL::DatabaseDefinition

  class << self
    include Cranium::AttributeDSL
  end

  attr_reader :name

  define_attribute :connect_to
  define_attribute :retry_count
  define_attribute :retry_delay



  def initialize(name)
    @name = name
    @retry_count = 0
    @retry_delay = 0
  end



  def ==(other)
    name == other.name and connect_to == other.connect_to
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cranium-0.8.1 lib/cranium/dsl/database_definition.rb
cranium-0.8 lib/cranium/dsl/database_definition.rb
cranium-0.7 lib/cranium/dsl/database_definition.rb