Module: Pebbles::Soreyuke
- Defined in:
- lib/pebbles-soreyuke.rb,
lib/pebbles-soreyuke/version.rb
Constant Summary collapse
- VERSION =
"0.1.2"
Class Method Summary collapse
- .AA(caracter, text) ⇒ Object
- .apm(text = nil) ⇒ Object
- .cpm(text = nil) ⇒ Object
- .spm(text = nil) ⇒ Object
Class Method Details
.AA(caracter, text) ⇒ Object
9 10 11 12 13 14 15 16 17 18 |
# File 'lib/pebbles-soreyuke.rb', line 9 def AA(caracter, text) case caracter when 'apm' apm(text) when 'cpm' cpm(text) when 'spm' spm(text) end end |
.apm(text = nil) ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 |
# File 'lib/pebbles-soreyuke.rb', line 20 def apm(text = nil) text ||= "I am APM!" <<-"EOS" ___ / \ ________ / ∧ ∧ \ / | ・ ・ | < #{text} | )●( | \________ \ ー ノ \____/ EOS end |
.cpm(text = nil) ⇒ Object
33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/pebbles-soreyuke.rb', line 33 def cpm(text = nil) text ||= "I am CPM!" <<-"EOS" __ヘ_ヘ_ ________ /∴∵(・) (・)∴\ / /∴∵∴∵ ○ ∴∵ ヽ < #{text} (∵∴∵ ●~~~● ∴ ) \________ \∵∴∵∴∵∴∵ / \∵∴∵∴ / EOS end |
.spm(text = nil) ⇒ Object
45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/pebbles-soreyuke.rb', line 45 def spm(text = nil) text ||= "I am SPM!" <<-"EOS" ____ / \ ( ) ________ \ ∧ ∧ | / | ・ ・ | < #{text} | ○ || ○. | \________ | 凵 | | ー | |______| EOS end |