class LoremKnight::CLI
Public Instance Methods
about()
click to toggle source
# File lib/lorem-knight/cli.rb, line 33 def about puts LoremKnight::ABOUT end
l(quantity)
click to toggle source
# File lib/lorem-knight/cli.rb, line 63 def l(quantity) LoremKnight::configure_lorem(options, @@panther) LoremKnight::show_and_copy(@@panther.get_list(quantity.to_i)) end
p(quantity)
click to toggle source
# File lib/lorem-knight/cli.rb, line 48 def p(quantity) LoremKnight::configure_lorem(options, @@panther) LoremKnight::show_and_copy(@@panther.get_paragraph(quantity.to_i)) end
s(quantity)
click to toggle source
# File lib/lorem-knight/cli.rb, line 40 def s(quantity) LoremKnight::configure_lorem(options, @@panther) LoremKnight::show_and_copy(@@panther.get_sentence(quantity.to_i)) end
version()
click to toggle source
# File lib/lorem-knight/cli.rb, line 28 def version puts LoremKnight::VERSION end
w(quantity)
click to toggle source
# File lib/lorem-knight/cli.rb, line 56 def w(quantity) LoremKnight::configure_lorem(options, @@panther) LoremKnight::show_and_copy(@@panther.get_words(quantity.to_i)) end