Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
1.1.0 source code.tar.gz | 2016-09-27 | 16.5 kB | |
1.1.0 source code.zip | 2016-09-27 | 30.9 kB | |
README.md | 2016-09-27 | 892 Bytes | |
Totals: 3 Items | 48.3 kB | 0 |
New features
- Added
class:subclasses()
returns the list of all classes which extend fromclass
- Added
class:instances()
, returns the list of all instances ofclass
- Added
class:classOf()
, checks ifclass
is a superclass of arg - Added
class:subclassOf()
, checks ifclass
is a subclass of arg - Added
instance:instanceOf()
, checks ifinstance
is an instance of arg - Added
class:without()
to remove a mixin from a class - Added
class:with()
, includes a mixin to a class
Breaking changes
- Changed implementation of
class.isClass
, now only checks if arg is a class - Changed implementation of
class.isInstance
, now only checks if arg is an instance - Removed
class:include()
- An instance of
class
is considered to be the instance of any superclass ofclass
- A class is considered to be the subclass of any of its direct superclass's superclasses