Module: BruceBanner
- Extended by:
- Configuration
- Defined in:
- lib/bruce-banner.rb,
lib/bruce-banner/version.rb
Defined Under Namespace
Modules: Configuration
Constant Summary collapse
- VERSION =
"0.1.2"
Instance Attribute Summary collapse
-
#defaults ⇒ Object
Hulk SMASH!.
Class Method Summary collapse
-
.configuration {|self.defaults| ... } ⇒ Object
configure-ater-iter-voodoo.
- .make_him_angry! ⇒ Object
Instance Attribute Details
#defaults ⇒ Object
Hulk SMASH!
81 82 83 |
# File 'lib/bruce-banner.rb', line 81 def defaults @defaults end |
Class Method Details
.configuration {|self.defaults| ... } ⇒ Object
configure-ater-iter-voodoo
76 77 78 |
# File 'lib/bruce-banner.rb', line 76 def self.configuration yield(self.defaults) if block_given? end |
.make_him_angry! ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 |
# File 'lib/bruce-banner.rb', line 5 def self.make_him_angry! # ASCII art from http://www.oocities.org/joan_stark/hulk.txt output = [] output << " ,#####, " output << " #_ _# " output << " |e` `e| " output << " | u | " output << " \\ = / " output << " |\\___/| " output << " ___ ____/: :\\____ ___ " output << " .' `.-===-\\ /-===-.` '. " output << ' / .-"""""-.-"""""-. \ ' output << " /' =:= '\\ " output << " .' ' .: o -=:=- o :. ' `. " output << " (.' /'. '-.....-'-.....-' .'\\ '.) " output << " /' ._/ \". : .\" \\_. '\\ " output << " | .'| \". ---:--- .\" |'. | " output << " | : | | ---:--- | | : | " output << " \\ : | |_____:_____| | : / " output << " / ( |----|------| ) \\ " output << " /... .| /` | '\\ |. ...\\ " output << "|::::/'' / .L__. \\ ''\\::::| " output << " \"\"\"\" / / \\ \\ \"\"\"\" " output << " : / \\ : " output << " | / \\ | " output << " \\ / \\ / " output << " ) | | ( " output << " / | | \\ " output << " (/\\/\\| |/\\/\\) " output << " \\ | | / " output << " ) | | ( " output << " _.-'` \\ / `'-._ " output << " :________/ \\________; " output << "" output << "ASCII art from http://www.oocities.org/joan_stark/hulk.txt" puts output.join "\n" end |