diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-06-06 00:12:13 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-06-06 00:12:13 +0000 |
commit | c1f2767604bba6b1d40bfc1e2efd4e690f7969a4 (patch) | |
tree | be532c195dbed01244c450337064ae132143675b /gentoo-data.rb | |
parent | Old require not needed. (diff) | |
download | rbot-gentoo-c1f2767604bba6b1d40bfc1e2efd4e690f7969a4.tar.gz rbot-gentoo-c1f2767604bba6b1d40bfc1e2efd4e690f7969a4.tar.bz2 rbot-gentoo-c1f2767604bba6b1d40bfc1e2efd4e690f7969a4.zip |
Nice idea, but does not work right.
Diffstat (limited to 'gentoo-data.rb')
-rw-r--r-- | gentoo-data.rb | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gentoo-data.rb b/gentoo-data.rb index 53476e9..f7f87f5 100644 --- a/gentoo-data.rb +++ b/gentoo-data.rb @@ -14,6 +14,19 @@ # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +# This does not always actually get run! +#class Hash +# def grep(key) +# keys = self.keys.grep(key) +# result = {} +# keys.each do |k| +# result[k] = self[k] +# #warning("#{k} => #{self[k]}") +# end +# return result +# end +#end + class GentooPlugin < Plugin Config.register Config::StringValue.new('gentoo.scriptdir', :requires_rescan => true, |