Method: Botz::Shell#function

Defined in:
lib/botz/shell.rb

#functionObject



40
41
42
43
44
45
46
47
48
49
# File 'lib/botz/shell.rb', line 40

def function
  print <<~SHELL
    function spider() {
      botz spider #{definition_file.path} $1
    }
    function scraper() {
      botz scraper #{definition_file.path} $1
    }
  SHELL
end