diff options
Diffstat (limited to 'spec/ruby/library/yaml/fixtures/example_class.rb')
-rw-r--r-- | spec/ruby/library/yaml/fixtures/example_class.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/spec/ruby/library/yaml/fixtures/example_class.rb b/spec/ruby/library/yaml/fixtures/example_class.rb index 751435a305..8259870799 100644 --- a/spec/ruby/library/yaml/fixtures/example_class.rb +++ b/spec/ruby/library/yaml/fixtures/example_class.rb @@ -1,5 +1,7 @@ -class FooBar - def initialize(name) - @name = name +module YAMLSpecs + class Example + def initialize(name) + @name = name + end end end |