class ProgressBar::Components::EstimatedTimer::As

Public Class Methods

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

Public Instance Methods

method_missing(sym, *args, &blk) click to toggle source
# File lib/progress_bar/components/estimated_timer.rb, line 82
def method_missing(sym, *args, &blk)
  @ancestor.instance_method(sym).bind(@subject).call(*args,&blk)
end