Class: Foraneus::Converters::String
- Defined in:
- lib/foraneus/converters/string.rb
Instance Attribute Summary collapse
-
#opts ⇒ Object
readonly
Returns the value of attribute opts.
Instance Method Summary collapse
-
#initialize(opts = {}) ⇒ String
constructor
A new instance of String.
- #parse(s) ⇒ String
- #raw(v) ⇒ Object
Constructor Details
#initialize(opts = {}) ⇒ String
Returns a new instance of String.
8 9 10 |
# File 'lib/foraneus/converters/string.rb', line 8 def initialize(opts = {}) @opts = opts end |
Instance Attribute Details
#opts ⇒ Object (readonly)
Returns the value of attribute opts.
6 7 8 |
# File 'lib/foraneus/converters/string.rb', line 6 def opts @opts end |