lib/puppet/resource/catalog.rb
def add_class(*classes)
    classes.each do |klass|
      @classes << klass
    end

    # Add the class names as tags, too.
    tag(*classes)
  end
# Add classes to our class list.
Add classes to our class list.
Add classes to our class list .
def add_class(*classes)
    classes.each do |klass|
      @classes << klass
    end
    tag(*classes)
  end
def add_class ( * classes ) classes . each do | klass | @classes << klass end tag ( * classes ) end
Add classes to our class list.
Add classes to our class list .
# Add the class names as tags, too.
classes