From 04cdcb0feb369ac4c60e10ccdc139c57e8b52e62 Mon Sep 17 00:00:00 2001 From: Zearin Date: Fri, 7 Oct 2011 10:34:23 -0400 Subject: Removed leftovers from installing with pip. Oops! I noticed there was a bunch of extra crap left over from when I installed this module onto my own system. I thought it wouldn't have modified itself at the time (just the Python module library on my system), but I was wrong. Begone, useless cruft! --- doxygen/html/classpirate4_1_1Pirate.html | 356 ------------------------------- 1 file changed, 356 deletions(-) delete mode 100644 doxygen/html/classpirate4_1_1Pirate.html (limited to 'doxygen/html/classpirate4_1_1Pirate.html') diff --git a/doxygen/html/classpirate4_1_1Pirate.html b/doxygen/html/classpirate4_1_1Pirate.html deleted file mode 100644 index 1c6ff65..0000000 --- a/doxygen/html/classpirate4_1_1Pirate.html +++ /dev/null @@ -1,356 +0,0 @@ - - - - -Cmd2: pirate4::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate4::Pirate Class Reference
-
-
- -

Inherits Cmd.

- -

List of all members.

- - - - - - - - - - -

-Public Member Functions

def do_drink
def do_loot
def postcmd
def precmd

-Public Attributes

 initial_gold

-Static Public Attributes

int gold = 3
-

Detailed Description

-
-

Definition at line 4 of file pirate4.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate4::Pirate::do_drink ( self,
 arg 
)
-
-
-
Drown your sorrrows in rrrum.
-
-drink [n] - drink [n] barrel[s] o' rum.
-

Definition at line 9 of file pirate4.py.

- -

References pirate2::Pirate::gold, gold, and pirate3::Pirate::gold.

-
00009 
-00010     def do_drink(self, arg):
-00011         '''Drown your sorrrows in rrrum.
-00012         
-00013         drink [n] - drink [n] barrel[s] o' rum.'''  
-00014         try:
-00015             self.gold -= int(arg)
-00016         except:
-00017             if arg:
-00018                 print('''What's "{0}"?  I'll take rrrum.'''.format(arg))
-            self.gold -= 1            
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate4::Pirate::do_loot ( self,
 arg 
)
-
-
- -

Definition at line 6 of file pirate4.py.

- -

References pirate2::Pirate::gold, gold, and pirate3::Pirate::gold.

-
00006 
-00007     def do_loot(self, arg):
-00008         'Seize booty from a passing ship.'
-        self.gold += 1
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate4::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 22 of file pirate4.py.

- -

References pirate2::Pirate::gold, pirate3::Pirate::gold, gold, pirate3::Pirate::initial_gold, and initial_gold.

- -

Referenced by cmd2::Cmd::onecmd_plus_hooks().

-
00022 
-00023     def postcmd(self, stop, line):   
-00024         if self.gold != self.initial_gold:
-00025             print('Now we gots {0} doubloons'.format(self.gold))
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate4::Pirate::precmd ( self,
 line 
)
-
-
- -

Definition at line 19 of file pirate4.py.

- -

References pirate2::Pirate::gold, gold, pirate3::Pirate::gold, pirate3::Pirate::initial_gold, and initial_gold.

- -

Referenced by cmd2::Cmd::onecmd_plus_hooks().

-
00019 
-00020     def precmd(self, line):
-00021         self.initial_gold = self.gold
-        return line
-
-
-
-

Member Data Documentation

- - - - -
The documentation for this class was generated from the following file:
    -
  • /Users/amrogers/Developer/Projects/cmd2/docs/pycon2010/pirate4.py
  • -
-
-
- - - - - -- cgit v1.2.1