Skip to content

Commit

Permalink
Remove warning of method redefined (#108)
Browse files Browse the repository at this point in the history
```
buildkite-builder-4.2.4/lib/buildkite/builder/extension.rb:9: warning: method redefined; discarding old dsl
```
  • Loading branch information
rafaelfranca authored Jan 8, 2024
1 parent bec71a7 commit 4fd8429
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/buildkite/builder/extension.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ module Buildkite
module Builder
class Extension
class << self
attr_reader :dsl

def dsl(&block)
@dsl = Module.new(&block) if block_given?
@dsl
Expand Down

0 comments on commit 4fd8429

Please sign in to comment.