Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/broken_record/composable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ def method_missing(m, *a, &b)
end
end

class Composite
class Composite
def initialize
self.receivers = []
end
Expand All @@ -29,7 +29,7 @@ def receives?(m)
def dispatch(m, *a, &b)
obj = receiver(m)

raise NoMethodError, "No compenent implements #{m}" unless obj
raise NoMethodError, "No component implements #{m}" unless obj

obj.send(m, *a, &b)
end
Expand Down