lib/iron/settings/group.rb
# Add a group to our list of items, and define
# a getter to access it by name
Add a group to our list of items, and define
a getter to access it by name
Add a group to our list of items and define a getter to access it by name
def add_group(name)    
      instance_eval <<-eos
        def #{name}
          find_group('#{name}')
        end
      eos
      group = Group.new(self, name)
      @nodes[name] = group
      group
    end
def add_group ( name ) instance_eval <<-eos 
        def  #{ name } 
          find_group(' #{ name } ')
        end
       eos group = Group . new ( self , name ) @nodes [ name ] = group group end
Add a group to our list of items, and define
a getter to access it by name
Add a group to our list of items and define a getter to access it by name
# Add getter for the group
name
<not_specific>