module Idna

Internationalizing Domain Names in Applications

Constants

VERSION

Public Class Methods

client() click to toggle source
# File lib/idna.rb, line 18
def client
  Idna::Client.lib_load! unless @client
  @client ||= Idna::Client.new
end
config() click to toggle source
# File lib/idna.rb, line 14
def config
  Idna::Configure
end
configure() { |Configure| ... } click to toggle source
# File lib/idna.rb, line 10
def configure
  yield Idna::Configure
end
method_missing(method, *args, &block) click to toggle source
Calls superclass method
# File lib/idna.rb, line 29
def method_missing(method, *args, &block)
  return super unless client.respond_to?(method)
  client.send(method, *args, &block)
end
reload!() click to toggle source
# File lib/idna.rb, line 23
def reload!
  @client = nil
  Idna::Client.lib_load!
  true
end