Permalink
Browse files

Documentation change: middleclass uses include for mixins, not includes.

  • Loading branch information...
Robin Ward
Robin Ward committed Sep 17, 2011
1 parent 498bd3d commit 71a39ef9356543bef23ddaa8944756b10e4eb47e
Showing with 1 addition and 1 deletion.
  1. +1 −1 Invoker.lua
View
@@ -10,7 +10,7 @@
require 'middleclass-extras.init' -- or 'middleclass-extras'
MyClass = class('MyClass')
- MyClass:includes(Invoker)
+ MyClass:include(Invoker)
function MyClass:foo(x,y) print('foo executed with params', x, y) end
local obj = MyClass:new()

0 comments on commit 71a39ef

Please sign in to comment.