Sha256: ed866b367d1c4aa59fc76e01785727f34a32edde3c57f3fd61005519a5f5f189

Contents?: true

Size: 1.64 KB

Versions: 3

Compression:

Stored size: 1.64 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>include (Module)</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/facet/macro.rb, line 65</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">include</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
    <span class="ruby-identifier">options</span> = <span class="ruby-identifier">args</span>.<span class="ruby-identifier">last</span>.<span class="ruby-identifier">is_a?</span>(<span class="ruby-constant">Hash</span>) <span class="ruby-operator">?</span> <span class="ruby-identifier">args</span>.<span class="ruby-identifier">pop</span> <span class="ruby-operator">:</span> {}
    <span class="ruby-keyword kw">for</span> <span class="ruby-identifier">mod</span> <span class="ruby-keyword kw">in</span> <span class="ruby-identifier">args</span>
      <span class="ruby-identifier">mod</span>.<span class="ruby-identifier">append_dynamic_features</span>( <span class="ruby-keyword kw">self</span>, <span class="ruby-identifier">options</span> )
    <span class="ruby-keyword kw">end</span>
    <span class="ruby-identifier">include_without_macros</span>(<span class="ruby-operator">*</span><span class="ruby-identifier">args</span>)
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
facets-0.7.0 doc/main-rdoc/classes/Module.src/M000165.html
facets-0.7.1 doc/main-rdoc/classes/Module.src/M000165.html
facets-0.7.2 doc/main-rdoc/classes/Module.src/M000179.html