Class: JekyllGoogleTranslate::GoogleTranslateHtml

Inherits:
JekyllSupport::JekyllTag
  • Object
show all
Defined in:
lib/google_translate_html.rb

Constant Summary collapse

PLUGIN_NAME =
'google_translate_html'.freeze
VERSION =
JekyllGoogleTranslate::VERSION

Instance Method Summary collapse

Instance Method Details

#render_implvoid

This method returns an undefined value.

The following variables are predefined:

@argument_string, @config, @envs, @helper, @layout, @logger, @mode, @page, @paginator, @site, @tag_name and @theme

Parameters:

  • tag_name (String)

    is the name of the tag, which we already know.

  • argument_string (String)

    the arguments from the web page.

  • tokens (Liquid::ParseContext)

    tokenized command line



24
25
26
27
28
# File 'lib/google_translate_html.rb', line 24

def render_impl
  "    <div id=\"google_translate_element\"></div>\n  END_OUTPUT\nend\n"