Class: SuperString
- Inherits:
-
Object
- Object
- SuperString
- Defined in:
- lib/vendor/addressable/spec/addressable/uri_spec.rb
Instance Method Summary collapse
-
#initialize(string) ⇒ SuperString
constructor
A new instance of SuperString.
- #to_str ⇒ Object
Constructor Details
#initialize(string) ⇒ SuperString
Returns a new instance of SuperString.
3487 3488 3489 |
# File 'lib/vendor/addressable/spec/addressable/uri_spec.rb', line 3487 def initialize(string) @string = string.to_s end |
Instance Method Details
#to_str ⇒ Object
3491 3492 3493 |
# File 'lib/vendor/addressable/spec/addressable/uri_spec.rb', line 3491 def to_str return @string end |