Parent

Files

ProgressBar::Components::EstimatedTimer::As

Public Class Methods

new(subject, ancestor) click to toggle source
# File lib/ruby-progressbar/components/estimated_timer.rb, line 71
def initialize(subject, ancestor)
  @subject = subject
  @ancestor = ancestor
end

Public Instance Methods

method_missing(sym, *args, &blk) click to toggle source
# File lib/ruby-progressbar/components/estimated_timer.rb, line 80
def method_missing(sym, *args, &blk)
  @ancestor.instance_method(sym).bind(@subject).call(*args,&blk)
end
start(*args, &blk) click to toggle source
# File lib/ruby-progressbar/components/estimated_timer.rb, line 76
def start(*args, &blk)
  @ancestor.instance_method(:start).bind(@subject).call(*args,&blk)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.