Sha256: 735f384a6ae9f3a6845848a6f137340c6fc202f748434bba333db3de3f0a8845

Contents?: true

Size: 1.86 KB

Versions: 29

Compression:

Stored size: 1.86 KB

Contents

<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html 
     PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html>
<head>
  <title>indicator (ActionView::Helpers::PrototypeHelper)</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
</head>
<body class="standalone-code">
  <pre><span class="ruby-comment cmt"># File lib/remote_helpers.rb, line 44</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">indicator</span>(<span class="ruby-identifier">options</span> = {})
    <span class="ruby-identifier">options</span>.<span class="ruby-identifier">reverse_merge!</span>(<span class="ruby-identifier">:id</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-constant">RemoteIndicator</span>.<span class="ruby-identifier">default_id</span>, <span class="ruby-identifier">:hide</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-keyword kw">true</span>)

    <span class="ruby-identifier">options</span>[<span class="ruby-identifier">:style</span>] = [<span class="ruby-identifier">options</span>[<span class="ruby-identifier">:style</span>], <span class="ruby-value str">'display:none'</span>].<span class="ruby-identifier">compact</span>.<span class="ruby-identifier">join</span>(<span class="ruby-value str">';'</span>) <span class="ruby-keyword kw">if</span> <span class="ruby-identifier">options</span>.<span class="ruby-identifier">delete</span>(<span class="ruby-identifier">:hide</span>)

    <span class="ruby-identifier">image_tag</span> <span class="ruby-constant">RemoteIndicator</span>.<span class="ruby-identifier">default_image</span>, <span class="ruby-identifier">options</span>
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
liquid_cms-0.3.2.0 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.2.2.0 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.2.1.1 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.3.1.0 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.2.1.0 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.2.0.13 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.3.0.10 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.3.0.9 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.2.0.12 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.2.0.11 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.2.0.10 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.3.0.8 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.2.0.9 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.3.0.7 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.3.0.6 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.2.0.8 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.3.0.5 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.2.0.7 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.3.0.4 lib/generators/liquid_cms/templates/vendor/plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html
liquid_cms-0.2.0.6 generators/liquid_cms/templates/vendor/plugins/cms_plugins/remote_helpers/doc/classes/ActionView/Helpers/PrototypeHelper.src/M000001.html