lib/rulebow/system.rb
# Parse out a ruleset's name from it's ruleset dependencies.
#
# Returns [Array]
Parse out a ruleset's name from it's ruleset dependencies.
Returns [Array]
Parse out a ruleset ' s name from it ' s ruleset dependencies . Returns [ Array ]
def parse_ruleset_name(name)
      if Hash === name
        raise ArgumentError if name.size > 1       
        list = [name.values].flatten.map{ |b| b.to_sym }
        name = name.keys.first
      else
        list = []
      end
      return name.to_sym, list
    end
def parse_ruleset_name ( name ) if Hash === name raise ArgumentError if name . size > 1 list = [ name . values ] . flatten . map { | b | b . to_sym } name = name . keys . first else list = [ ] end return name . to_sym , list end
Parse out a ruleset's name from it's ruleset dependencies.
Parse out a ruleset ' s name from it ' s ruleset dependencies .
name
<not_specific>