static public Method

Extractor.define(mode=nil, &extractor_definition)

The definition of the extractor is passed through this method

Source Code

# File scrubyt/core/shared/extractor.rb, line 16
def self.define(mode=nil, &extractor_definition)
  extractor = self.new(mode, extractor_definition)
  extractor.result
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.