summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuke Kanies <luke@madstop.com>2005-05-16 18:38:06 +0000
committerLuke Kanies <luke@madstop.com>2005-05-16 18:38:06 +0000
commit4a4438dbf226335ea3c885a4ced32174d4123542 (patch)
tree917d2e8e3c294a4bf39e90d5d05b7868828a5592
parent4a9c1a256d12cf8c4af1f7e5754a9fcbb61078ca (diff)
downloadpuppet-4a4438dbf226335ea3c885a4ced32174d4123542.tar.gz
puppet-4a4438dbf226335ea3c885a4ced32174d4123542.tar.xz
puppet-4a4438dbf226335ea3c885a4ced32174d4123542.zip
okay, implicit iteration now occurs at least at object definition time
git-svn-id: https://reductivelabs.com/svn/puppet/library/trunk@259 980ebf18-57e1-0310-9a29-db15c13687c0
-rw-r--r--lib/blink/type.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/blink/type.rb b/lib/blink/type.rb
index 859005574..364e0da24 100644
--- a/lib/blink/type.rb
+++ b/lib/blink/type.rb
@@ -54,7 +54,7 @@ class Blink::Type < Blink::Element
# called before the <subclass>.name method is defined, we need
# to store each class in an array, and then later actually iterate
# across that array and make a map
- @@typeary = [self]
+ @@typeary = [self] # so that the allowedmethods stuff works
@@typehash = Hash.new { |hash,key|
if key.is_a?(String)
key = key.intern