Sha256: 0270630fab4c916053ceba85636ae6659b107689087dbd3e107c837079376a89

Contents?: true

Size: 1.49 KB

Versions: 2

Compression:

Stored size: 1.49 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>get (GGLib::Animation)</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 gglib/image.rb, line 21</span>
  <span class="ruby-keyword kw">def</span> <span class="ruby-constant">Animation</span>.<span class="ruby-identifier">get</span>(<span class="ruby-identifier">at</span>)
    <span class="ruby-keyword kw">if</span> <span class="ruby-ivar">@@animations</span>[<span class="ruby-identifier">at</span>] <span class="ruby-operator">!=</span><span class="ruby-keyword kw">nil</span>
      <span class="ruby-keyword kw">return</span> <span class="ruby-ivar">@@animations</span>[<span class="ruby-identifier">at</span>]
    <span class="ruby-keyword kw">else</span>
      <span class="ruby-identifier">puts</span> <span class="ruby-identifier">caller</span>
      <span class="ruby-constant">STDIN</span>.<span class="ruby-identifier">gets</span>
      <span class="ruby-identifier">raise</span> <span class="ruby-node">&quot;Animation resource '#{at}' does not exist.&quot;</span>
    <span class="ruby-keyword kw">end</span>
  <span class="ruby-keyword kw">end</span></pre>
</body>
</html>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gglib-1.2.1 lib/doc/classes/GGLib/Animation.src/M000237.html
gglib-1.3.0 doc/classes/GGLib/Animation.src/M000237.html