Class: Raykit::Secrets
- Inherits:
-
Hash
- Object
- Hash
- Raykit::Secrets
- Defined in:
- lib/raykit/secrets.rb
Overview
Provides functionality to record the time execution times
Instance Method Summary collapse
Instance Method Details
#hide(text) ⇒ Object
6 7 8 9 10 11 12 13 14 |
# File 'lib/raykit/secrets.rb', line 6 def hide(text) hidden=text self.each{|k,v| if(!v.nil? && v.length > 0) hidden=hidden.gsub(v,'****') end } hidden end |