Sha256: 8fd9bd3ffb4148851551583a9115db8aa08f1df225abd682662727b500cfe60e

Contents?: true

Size: 1.24 KB

Versions: 12

Compression:

Stored size: 1.24 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>update (Bio::Graphics::Primitive)</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/bio/graphics/primitive.rb, line 26</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-identifier">update</span>(<span class="ruby-identifier">args</span>)
    <span class="ruby-identifier">args</span>.<span class="ruby-identifier">each_key</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">k</span><span class="ruby-operator">|</span>
      <span class="ruby-keyword kw">self</span>.<span class="ruby-identifier">instance_variable_set</span>(<span class="ruby-node">&quot;@#{k}&quot;</span>, <span class="ruby-identifier">args</span>[<span class="ruby-identifier">k</span>])
    <span class="ruby-keyword kw">end</span>
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

12 entries across 4 versions & 1 rubygems

Version Path
bio-svgenes-0.4.1 doc/classes/Bio/Graphics/Primitive.src/M000002.html
bio-svgenes-0.4.1 doc/classes/Bio/Graphics/Primitive.src/M000023.html
bio-svgenes-0.4.1 doc/classes/Bio/Graphics/Primitive.src/M000009.html
bio-svgenes-0.4.0 doc/classes/Bio/Graphics/Primitive.src/M000002.html
bio-svgenes-0.4.0 doc/classes/Bio/Graphics/Primitive.src/M000009.html
bio-svgenes-0.4.0 doc/classes/Bio/Graphics/Primitive.src/M000023.html
bio-svgenes-0.3.3 doc/classes/Bio/Graphics/Primitive.src/M000002.html
bio-svgenes-0.3.3 doc/classes/Bio/Graphics/Primitive.src/M000009.html
bio-svgenes-0.3.3 doc/classes/Bio/Graphics/Primitive.src/M000023.html
bio-svgenes-0.3.2 doc/classes/Bio/Graphics/Primitive.src/M000002.html
bio-svgenes-0.3.2 doc/classes/Bio/Graphics/Primitive.src/M000023.html
bio-svgenes-0.3.2 doc/classes/Bio/Graphics/Primitive.src/M000009.html