Method: Webrat::Scope.from_scope

Defined in:
lib/webrat/core/scope.rb

.from_scope(session, scope, selector) ⇒ Object

:nodoc:



21
22
23
24
25
26
# File 'lib/webrat/core/scope.rb', line 21

def self.from_scope(session, scope, selector) #:nodoc:
  new(session) do
    @scope = scope
    @selector = selector
  end
end