Sha256: c2c49d9ccd8d259697da4e81ef440b3a94026acbf24fc1cac6f326e956cbc65d
Contents?: true
Size: 365 Bytes
Versions: 9
Compression:
Stored size: 365 Bytes
Contents
# encoding: utf-8 module GithubCLI module DSL @@program_name = $0.split(/\//)[-1] @@error_block = nil # Defines a program name. def program_name(name=nil) if name @@program_name = name end @@program_name end # Defines behaviour on error. def on_error(&block) @@error_block = block end end end
Version data entries
9 entries across 9 versions & 1 rubygems