Sha256: 73408058dfb3b7061501d6c37f45bf6a2d42549b57b282d3b4fc8043d64e4ff0

Contents?: true

Size: 231 Bytes

Versions: 8

Compression:

Stored size: 231 Bytes

Contents

class Asbestos::HostTemplate
  include Asbestos::ClassCollection

  class_collection :all

  attr_reader :template

  def initialize(name, template)
    @name = name
    @template = template

    self.class[name] = self
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
asbestos-0.0.9 lib/asbestos/host_template.rb
asbestos-0.0.8 lib/asbestos/host_template.rb
asbestos-0.0.7 lib/asbestos/host_template.rb
asbestos-0.0.6 lib/asbestos/host_template.rb
asbestos-0.0.5 lib/asbestos/host_template.rb
asbestos-0.0.4 lib/asbestos/host_template.rb
asbestos-0.0.3 lib/asbestos/host_template.rb
asbestos-0.0.1 lib/asbestos/host_template.rb