Class: Bioroebe::Taxonomy::Helpline
- Inherits:
-
Object
- Object
- Bioroebe::Taxonomy::Helpline
- Defined in:
- lib/bioroebe/taxonomy/help/helpline.rb
Overview
Bioroebe::Taxonomy::Helpline
Constant Summary collapse
- PADDING =
#
PADDING
#
' '
- LJUST =
#
LJUST
#
16
Class Method Summary collapse
-
.[](a = 'Hello', b = 'World') ⇒ Object
# === Taxonomy::Helpline[].
Class Method Details
.[](a = 'Hello', b = 'World') ⇒ Object
#
Taxonomy::Helpline[]
The common syntax here is to use two separate inputs:
- First argument will be the command to be used.
- Second argument explains on that.
#
40 41 42 43 44 45 46 47 |
# File 'lib/bioroebe/taxonomy/help/helpline.rb', line 40 def self.[]( a = 'Hello', b = 'World' ) a = a.to_s.ljust(LJUST, ' ') a = ::Colours.sfancy(a) Colours.e PADDING+a+' '+b end |