Sha256: 9f124b014217d7ddda39897a5ef70144274ef410ce656bfc0c8a65989f5f20a1
Contents?: true
Size: 512 Bytes
Versions: 5
Compression:
Stored size: 512 Bytes
Contents
module Lumberg module Whm class Base # Whm::Server attr_accessor :server # # ==== Required # * <tt>:server</tt> - PENDING def initialize(options = {}) Args.new(options) do |c| c.requires :server end @server = setup_server options.delete(:server) end def setup_server(value) if value.is_a?(Whm::Server) value else Whm::Server.new value end end end end end
Version data entries
5 entries across 5 versions & 1 rubygems