Class: SgtnClient::StringUtil
- Inherits:
-
String
- Object
- String
- SgtnClient::StringUtil
- Defined in:
- lib/sgtn-client/util/string-util.rb
Instance Attribute Summary collapse
-
#locale ⇒ Object
Returns the value of attribute locale.
Instance Method Summary collapse
-
#initialize(str, locale) ⇒ StringUtil
constructor
A new instance of StringUtil.
Constructor Details
#initialize(str, locale) ⇒ StringUtil
Returns a new instance of StringUtil.
6 7 8 9 |
# File 'lib/sgtn-client/util/string-util.rb', line 6 def initialize(str, locale) super(str) @locale = locale end |
Instance Attribute Details
#locale ⇒ Object
Returns the value of attribute locale.
10 11 12 |
# File 'lib/sgtn-client/util/string-util.rb', line 10 def locale @locale end |