lib/rulebow/digest.rb
# Refresh current digest for a given ruleset, or all rulesets if not given.
#
# Returns nothing.
Refresh current digest for a given ruleset, or all rulesets if not given.
Returns nothing.
Refresh current digest for a given ruleset or all rulesets if not given . Returns nothing .
def refresh(ruleset=nil)
      if ruleset
        ruleset = getruleset(ruleset)
        current[ruleset.name.to_s] = ruleset.watchlist.digest
      else
        system.rulesets.each do |name, ruleset|
          refresh(ruleset)
        end
      end
    end
def refresh ( ruleset = nil ) if ruleset ruleset = getruleset ( ruleset ) current [ ruleset . name . to_s ] = ruleset . watchlist . digest else system . rulesets . each do | name , ruleset | refresh ( ruleset ) end end end
Refresh current digest for a given ruleset, or all rulesets if not given.
Refresh current digest for a given ruleset or all rulesets if not given .
ruleset
<not_specific>