class URIContents

str = URIContents.new(uri)

Public Class Methods

new(uri) click to toggle source
# File lib/el4r/el4r-sub.rb, line 834
def initialize(uri)
  require 'open-uri'
  @to_s = URI(uri).read
end