class Qmetrics::Stats
Public Class Methods
new(from: , to: , **args)
click to toggle source
Calls superclass method
Qmetrics::Caller::new
# File lib/qmetrics/stats.rb, line 6 def initialize(from: , to: , **args) super(args) @from = from @to = to end
Public Instance Methods
to_s()
click to toggle source
Calls superclass method
Qmetrics::Caller#to_s
# File lib/qmetrics/stats.rb, line 12 def to_s "/QmStats" + super + "&from=#{@from.strftime("%F.%H:%M:%S")}" \ "&to=#{@to.strftime("%F.%H:%M:%S")}" + @blocks.map {|b| "&block=#{b}"}.join end