Module: Selection
Overview
Module
Instance Attribute Summary collapse
-
#selector ⇒ Object
readonly
Returns the value of attribute selector.
Instance Method Summary collapse
Methods included from Coercion
Instance Attribute Details
#selector ⇒ Object (readonly)
Returns the value of attribute selector.
45 46 47 |
# File 'lib/brine/selector.rb', line 45 def selector @selector end |
Instance Method Details
#use_selector(selector) ⇒ Object
47 48 49 50 |
# File 'lib/brine/selector.rb', line 47 def use_selector(selector) selector.coercer = coercer @selector = selector end |