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
Defined Under Namespace
Modules: Rule Classes: RuleSet
Instance Method Summary collapse
-
#create_rule_set(rules = nil, **opts) ⇒ Object
Alias for constructing a new RuleSet.
Instance Method Details
#create_rule_set(rules = nil, **opts) ⇒ Object
Alias for constructing a new RuleSet
12 13 14 |
# File 'lib/term_color.rb', line 12 def create_rule_set(rules=nil,**opts) TermColor::RuleSet.new(rules,opts) end |