class Object
Constants
- EXECUTABLE_NAME
- PAYLOAD_BC_DICT
Define dictionary of payload aliases for backwards compatibility with versions < 1.0.0.
- PAYLOAD_LIST
Define payload list.
- PROGRAM_NAME
Define constants.
- PROGRAM_VERSION
Public Instance Methods
print_output(s: "", url_encode: false, new_line: true)
click to toggle source
Define print_output.
# File bin/lazypariah, line 148 def print_output(s: "", url_encode: false, new_line: true) if url_encode print(ERB::Util.url_encode(s)) else print(s) end if new_line puts("\n") end end
prog_info(donation_info=true)
click to toggle source
Define function for displaying program information.
# File bin/lazypariah, line 107 def prog_info(donation_info=true) puts("#{PROGRAM_NAME} #{PROGRAM_VERSION}") puts("Copyright (C) 2020-2021 Peter Bruce Funnell") if donation_info puts("\nBTC Donation Address (Author): 3EdoXV1w8H7y7M9ZdpjRC7GPnX4aouy18g") end end