spec/fixtures/group.thor in thor-0.14.3 vs spec/fixtures/group.thor in thor-0.14.4
- old
+ new
@@ -91,5 +91,24 @@
desc "A group with the same name as a default task"
def group
puts "group"
end
end
+
+class ParentGroup < Thor::Group
+private
+ def foo
+ "foo"
+ end
+
+ def baz(name = 'baz')
+ name
+ end
+end
+
+class ChildGroup < ParentGroup
+ def bar
+ "bar"
+ end
+
+ public_task :foo, :baz
+end