Class: Rusty::RuleSet::Rule
- Inherits:
-
Struct
- Object
- Struct
- Rusty::RuleSet::Rule
- Defined in:
- lib/rusty/rule_set.rb
Overview
A rule combines a selector with a proc.
Instance Attribute Summary collapse
-
#proc ⇒ Object
Returns the value of attribute proc.
-
#selector ⇒ Object
Returns the value of attribute selector.
Instance Attribute Details
#proc ⇒ Object
Returns the value of attribute proc
10 11 12 |
# File 'lib/rusty/rule_set.rb', line 10 def proc @proc end |
#selector ⇒ Object
Returns the value of attribute selector
10 11 12 |
# File 'lib/rusty/rule_set.rb', line 10 def selector @selector end |