Module: TermColor
- Extended by:
- TermColor
- Included in:
- TermColor
- Defined in:
- lib/term_color.rb,
lib/term_color/rule.rb,
lib/term_color/rule_set.rb
Overview
Defined Under Namespace
Modules: Rule Classes: RuleSet
Instance Method Summary collapse
-
#create_rule_set(rules = {}) ⇒ Object
Alias for constructing a new RuleSet.
Instance Method Details
#create_rule_set(rules = {}) ⇒ Object
Alias for constructing a new RuleSet
12 13 14 |
# File 'lib/term_color.rb', line 12 def create_rule_set(rules={}) TermColor::RuleSet.new(rules) end |