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/classpirate6_1_1Pirate.html | 458 ------------------------------- 1 file changed, 458 deletions(-) delete mode 100644 doxygen/html/classpirate6_1_1Pirate.html (limited to 'doxygen/html/classpirate6_1_1Pirate.html') diff --git a/doxygen/html/classpirate6_1_1Pirate.html b/doxygen/html/classpirate6_1_1Pirate.html deleted file mode 100644 index 4049c54..0000000 --- a/doxygen/html/classpirate6_1_1Pirate.html +++ /dev/null @@ -1,458 +0,0 @@ - - - - -Cmd2: pirate6::Pirate Class Reference - - - - - - - - - - - - - - -
- - -
- - - - - - - - - - - -
-
Cmd2 - -
- -
-
- - - - - -
-
- -
-
-
- -
-
- -
-
pirate6::Pirate Class Reference
-
-
-
-Inheritance diagram for pirate6::Pirate:
-
-
- - -cmd2::Cmd - -
- -

List of all members.

- - - - - - - - - - - - - -

-Public Member Functions

def default
def do_drink
def do_loot
def do_quit
def postcmd
def precmd

-Public Attributes

 initial_gold

-Static Public Attributes

int gold = 3
string prompt = 'arrr> '
-

Detailed Description

-
-

Definition at line 4 of file pirate6.py.

-

Member Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::default ( self,
 line 
)
-
-
- -

Definition at line 7 of file pirate6.py.

- -

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

-
00007 
-00008     def default(self, line):
-00009         print('What mean ye by "{0}"?'
-              .format(line))
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::do_drink ( self,
 arg 
)
-
-
-
Drown your sorrrows in rrrum.
-
-drink [n] - drink [n] barrel[s] o' rum.
-

Definition at line 13 of file pirate6.py.

- -

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

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

Definition at line 10 of file pirate6.py.

- -

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

-
00010 
-00011     def do_loot(self, arg):
-00012         'Seize booty from a passing ship.'
-        self.gold += 1
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::do_quit ( self,
 arg 
)
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 34 of file pirate6.py.

-
00034 
-00035     def do_quit(self, arg):
-00036         print("Quiterrr!")
-00037         return True    
-
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::postcmd ( self,
 stop,
 line 
)
-
-
- -

Definition at line 26 of file pirate6.py.

- -

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

- -

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

-
00026 
-00027     def postcmd(self, stop, line):   
-00028         if self.gold != self.initial_gold:
-00029             print('Now we gots {0} doubloons'
-00030                   .format(self.gold))
-00031         if self.gold < 0:
-00032             print("Off to debtorrr's prison.")
-00033             stop = True
-        return stop
-
-
-
- -
-
- - - - - - - - - - - - - - - - - - -
def pirate6::Pirate::precmd ( self,
 line 
)
-
- -
-

Member Data Documentation

- - - - - -
-
- - - - -
string pirate6::Pirate::prompt = 'arrr> ' [static]
-
-
- -

Reimplemented from cmd2::Cmd.

- -

Definition at line 6 of file pirate6.py.

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