class AcctHelper
Constants
- ACCT_OPTIONS
- ACCT_TABLE
- END_TIME_ACCT
- END_TIME_SHOWBACK
- GROUP
- HOST
- SHOWBACK_OPTIONS
- SHOWBACK_TABLE
- SPLIT
- START_TIME_ACCT
- START_TIME_SHOWBACK
- TIME_ZONE_CUR
- USERFILTER
- XPATH
Public Class Methods
Source
# File lib/one_helper/oneacct_helper.rb, line 271 def self.print_month_header(year, month) CLIHelper.scr_bold CLIHelper.scr_underline puts "# Showback for #{month}/#{year}".ljust(80) CLIHelper.scr_restore puts end
Source
# File lib/one_helper/oneacct_helper.rb, line 238 def self.print_start_end_time_header(start_time, end_time) print "Showing active history records from " CLIHelper.scr_bold if ( start_time != -1 ) print Time.at(start_time).to_s else print "-" end CLIHelper.scr_restore print " to " CLIHelper.scr_bold if ( end_time != -1 ) print Time.at(end_time).to_s else print "-" end CLIHelper.scr_restore puts puts end
Source
# File lib/one_helper/oneacct_helper.rb, line 263 def self.print_user_header(user_id) CLIHelper.scr_bold CLIHelper.scr_underline puts "# User #{user_id}".ljust(80) CLIHelper.scr_restore puts end