Skip to content

Commit

Permalink
Remove redundant reference to self
Browse files Browse the repository at this point in the history
  • Loading branch information
piotrmurach committed Sep 12, 2020
1 parent ad8e62b commit 640369a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/finite_machine/definition.rb
Expand Up @@ -49,7 +49,7 @@ def self.new(*args)
def self.inherited(subclass)
super

self.deferreds.each { |d| subclass.add_deferred(d) }
deferreds.each { |d| subclass.add_deferred(d) }
end

# Delay lookup of DSL method
Expand Down

0 comments on commit 640369a

Please sign in to comment.