class Aygabtu::ScopeChain

Attributes

scope[R]

Public Class Methods

new(example_group, scope) click to toggle source
# File lib/aygabtu/scope_chain.rb, line 6
def initialize(example_group, scope)
  @example_group = example_group
  @scope = scope
end
scope_methods() click to toggle source
# File lib/aygabtu/scope_chain.rb, line 29
def self.scope_methods
  [:remaining, *Scope::Base.factory_methods]
end

Public Instance Methods

remaining(&block) click to toggle source
# File lib/aygabtu/scope_chain.rb, line 25
def remaining(&block)
  remaining_at(@example_group.aygabtu_handle.checkpoint, &block)
end