Sha256: 8536b68ea406c45c851cc1414b0d23c787ccf3936333ed2dbb38ae64a5b46d79
Contents?: true
Size: 208 Bytes
Versions: 7
Compression:
Stored size: 208 Bytes
Contents
module RubyHackernews class TextParser def initialize(table) @target_line = table.search("tr")[3] end def parse return @target_line.search("td")[1].inner_text end end end
Version data entries
7 entries across 7 versions & 1 rubygems