Module: HttpFind
- Defined in:
- lib/http_find.rb,
lib/http_find/cli.rb,
lib/http_find/output.rb,
lib/http_find/matcher.rb,
lib/http_find/version.rb,
lib/http_find/response.rb
Defined Under Namespace
Classes: Cli, Matcher, Output, Response
Constant Summary collapse
- VERSION =
"0.1.1"
Class Method Summary collapse
Class Method Details
.find(uri, subject) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/http_find.rb', line 8 def self.find(uri, subject) response = HttpFind::Response.new(uri) matcher = HttpFind::Matcher.new(response.body) output = HttpFind::Output.new(matcher.match(subject)) output.lines end |