# encoding: utf-8

require 'ordasity'

require 'bluster/cluster_config'
require 'bluster/listener'

module Bluster
  def self.create_cluster(name, listener, options = {})
    config = Bluster::ClusterConfig.create(options)
    Ordasity::Cluster.new(name, listener, config)
  end
end

# encoding: utf-8

require 'ordasity'

require 'bluster/cluster_config'
require 'bluster/listener'

module Bluster
  def self.create_cluster(name, listener, options = {})
    Ordasity::Cluster.new(name, listener, ClusterConfig.create(options))
  end
end

Remove superfluous variable in Bluster.create_cluster
Remove superfluous variable in Bluster.create_cluster