Class: Parametric::Policies::MatchPolicy
- Defined in:
- lib/parametric/policies.rb
Instance Method Summary collapse
Methods inherited from Policy
Constructor Details
This class inherits a constructor from Parametric::Policies::Policy
Instance Method Details
#value ⇒ Object
76 77 78 79 80 |
# File 'lib/parametric/policies.rb', line 76 def value decorated.value.each_with_object([]){|a,arr| arr << a if a.to_s =~ [:match] } end |