You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-ruby/attic/files/attic-0.5.2-fixes.patch

21 lines
580 B

diff --git a/try/30_nometaclass_tryouts.rb b/try/30_nometaclass_tryouts.rb
index 0a07843..94f3ea8 100644
--- a/try/30_nometaclass_tryouts.rb
+++ b/try/30_nometaclass_tryouts.rb
@@ -30,13 +30,13 @@ tryouts "Basics" do
:any.metaclass?
end
- dream [:@___attic_name]
+ dream ["@___attic_name"]
drill "A Symbol's attic vars appear in all_instance_variables" do
Symbol.extend Attic
Symbol.attic :name
a, b = :symbol1, :symbol2
a.name = :roger
- a.all_instance_variables
+ a.all_instance_variables.collect { |x| x.to_s }
end
dream []