diff options
-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, |