initialize

in _plugins/remote_file_content.rb [5:18]


    def initialize(tag_name, markup, tokens)
      url = markup

      puts "Fetching content of url: #{url}"

      if url =~ URI::DEFAULT_PARSER.make_regexp
        @content = fetchContent(url)
      else
        raise 'Invalid URL passed to RemoteFileContent'
      end

      super
    end