Show
Ignore:
Timestamp:
03/22/07 02:38:19 (11 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1174531099 +0000
git-parent:

[b3c640775d36906eb2e9f8a2b1cbf1bbb0ba8fd4]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1174531099 +0000
Message:

rename Resmon::Modules as Resmon::Module

git-svn-id: https://labs.omniti.com/resmon/trunk@21 8c0face9-b7db-6ec6-c4b3-d5f7145c7d55

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • lib/Resmon/Config.pm

    rb3c6407 r3596d9c  
    2424        my @params = split(/,/, $2); 
    2525        grep { $kvs{$1} = $2 if /^\s*(\S+)\s*=>\s*(\S+)\s*$/ } @params; 
    26         my $object = bless \%kvs, "Resmon::Modules::$current"; 
    27         push(@{$self->{Modules}->{$current}}, $object); 
     26        my $object = bless \%kvs, "Resmon::Module::$current"; 
     27        push(@{$self->{Module}->{$current}}, $object); 
    2828      } elsif (/^\s*\}\s*$/) { 
    2929        $current = undef; 
     
    3434      if(/\s*(\S+)\s*\{/) { 
    3535        $current = $1; 
    36         $self->{Modules}->{$current} = []; 
     36        $self->{Module}->{$current} = []; 
    3737        next; 
    3838      }