Module: URITemplate::Utils::StringEncoding::Fallback

Included in:
URITemplate::Utils::StringEncoding
Defined in:
lib/uri_template/utils.rb

Overview

Fallback methods to be used in pre 1.9 rubies.

Instance Method Summary collapse

Instance Method Details

#force_utf8(str) ⇒ Object



135
136
137
# File 'lib/uri_template/utils.rb', line 135

def force_utf8(str)
  str
end

#to_ascii(str) ⇒ Object



127
128
129
# File 'lib/uri_template/utils.rb', line 127

def to_ascii(str)
  str
end

#to_utf8(str) ⇒ Object



131
132
133
# File 'lib/uri_template/utils.rb', line 131

def to_utf8(str)
  str
end