Class: Chaltron::Banner
- Inherits:
-
Object
- Object
- Chaltron::Banner
- Defined in:
- lib/chaltron/banner.rb
Instance Method Summary collapse
- #binary ⇒ Object
- #hex ⇒ Object
-
#initialize ⇒ Banner
constructor
A new instance of Banner.
- #morse ⇒ Object
- #octal ⇒ Object
- #sample(version = true) ⇒ Object
Constructor Details
#initialize ⇒ Banner
Returns a new instance of Banner.
5 6 7 |
# File 'lib/chaltron/banner.rb', line 5 def initialize @banners = end |
Instance Method Details
#binary ⇒ Object
19 20 21 |
# File 'lib/chaltron/banner.rb', line 19 def binary '01000011 01101000 01100001 01101100 01110100 01110010 01101111 01101110' end |
#hex ⇒ Object
23 24 25 |
# File 'lib/chaltron/banner.rb', line 23 def hex '43 68 61 6C 74 72 6F 6E' end |
#morse ⇒ Object
27 28 29 |
# File 'lib/chaltron/banner.rb', line 27 def morse '-.-. .... .- .-.. - .-. --- -.' end |
#octal ⇒ Object
15 16 17 |
# File 'lib/chaltron/banner.rb', line 15 def octal '103 150 141 154 164 162 157 156' end |