Skip to content

Commit e894feb

Browse files
committed
Allow String in task_namespace
1 parent 9abc925 commit e894feb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

_gem/lib/go_gem/rake_task.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class RakeTask < ::Rake::TaskLib
3434
attr_reader :gem_name
3535

3636
# @!attribute task_namespace
37-
# @return [Symbol] task namespace (default: `:go`)
37+
# @return [Symbol,String] task namespace (default: `:go`)
3838
attr_accessor :task_namespace
3939

4040
# @!attribute go_bin_path

_gem/sig/go_gem/rake_task.rbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module GoGem
22
class RakeTask < ::Rake::TaskLib
33
@gem_name: String
44

5-
@task_namespace: Symbol
5+
@task_namespace: Symbol | String
66

77
@go_bin_path: String
88

@@ -18,7 +18,7 @@ module GoGem
1818

1919
attr_reader gem_name: String
2020

21-
attr_accessor task_namespace: Symbol
21+
attr_accessor task_namespace: Symbol | String
2222

2323
attr_accessor go_bin_path: String
2424

0 commit comments

Comments
 (0)