alpha module

class alpha.Foo(barPower)[source]

Bases: object

This is the Foo class.

Create powerful Foo objects for generating foobars

power(int)

Amount of bar energy contained in this Foo instance.

Parameters:barPower (int) – The bar energy to be contained in this Foo instance.
Raises:AssertError – If barPower is less than 6, crap itself.

Examples

>>> from test import Foo
>>> x = Foo(6)
>>> x.bar()
>>> foobar0
>>> foobar1
>>> foobar2
>>> foobar3
>>> foobar4
>>> foobar5
bar()[source]

Generate foobars based on bar energy.