Class: Jira::Inflectors::StringInflector
- Inherits:
-
BaseInflector
- Object
- BaseInflector
- Jira::Inflectors::StringInflector
- Defined in:
- lib/jira/inflectors.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(value) ⇒ StringInflector
constructor
A new instance of StringInflector.
- #value ⇒ Object
Constructor Details
#initialize(value) ⇒ StringInflector
Returns a new instance of StringInflector.
15 16 17 |
# File 'lib/jira/inflectors.rb', line 15 def initialize(value) super(value.to_s) end |
Instance Method Details
#value ⇒ Object
19 20 21 |
# File 'lib/jira/inflectors.rb', line 19 def value super.strip end |