Class: Jira::Inflectors::CompositeInflector
- Inherits:
-
BaseInflector
- Object
- BaseInflector
- Jira::Inflectors::CompositeInflector
- Defined in:
- lib/jira/inflectors.rb
Instance Method Summary collapse
-
#initialize(*inflectors) ⇒ CompositeInflector
constructor
A new instance of CompositeInflector.
- #value ⇒ Object
Constructor Details
#initialize(*inflectors) ⇒ CompositeInflector
Returns a new instance of CompositeInflector.
51 52 53 |
# File 'lib/jira/inflectors.rb', line 51 def initialize(*inflectors) @inflectors = inflectors end |
Instance Method Details
#value ⇒ Object
55 56 57 |
# File 'lib/jira/inflectors.rb', line 55 def value @inflectors.map(&:value) end |