Top Level Namespace
- Includes:
- Cliner
Defined Under Namespace
Modules: Cliner
Constant Summary
Constants included from Cliner
Cliner::ASSIGNMENT_TOKEN, Cliner::LAST_UPDATE, Cliner::VERSION
Instance Method Summary collapse
Methods included from Cliner
[], cliner, reset, return_hhmmss, set_colour, token?, use_colours?
Instance Method Details
#cliner(which_token_to_use = Cliner.token?, how_often_to_use_that_token = 80, use_colour = ( (Object.const_defined? :Cliner) ? Cliner.use_colours? : nil ), output_the_result = true) ⇒ Object
#
cliner
Usage examples:
cliner '','',BLUE
cliner :token => 'X'
cliner :colour => :green
cliner use_colour: :dodgerblue
cliner use_colour: :seagreen
cliner use_colour: :konsole_dodgerblue
#
213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 |
# File 'lib/cliner/cliner.rb', line 213 def cliner( which_token_to_use = Cliner.token?, how_often_to_use_that_token = 80, use_colour = ( (Object.const_defined? :Cliner) ? Cliner.use_colours? : nil ), output_the_result = true ) Cliner.cliner( which_token_to_use, how_often_to_use_that_token, use_colour, output_the_result ) end |