Sha256: fbc28e253b0aecf603a760bcbda88b2237127c8adaa3c9c658d72d09d2457546

Contents?: true

Size: 176 Bytes

Versions: 7

Compression:

Stored size: 176 Bytes

Contents

module RubyHackernews

  class TextService
    include MechanizeContext

    def get_text(page)
      return TextParser.new(page.search("table")[2]).parse
    end

  end
end  

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ruby-hackernews-1.4.0 lib/ruby-hackernews/services/text_service.rb
ruby-hackernews-1.3.7 lib/ruby-hackernews/services/text_service.rb
ruby-hackernews-1.3.6 lib/ruby-hackernews/services/text_service.rb
ruby-hackernews-1.3.5 lib/ruby-hackernews/services/text_service.rb
ruby-hackernews-1.3.3 lib/ruby-hackernews/services/text_service.rb
ruby-hackernews-1.3.2 lib/ruby-hackernews/services/text_service.rb
ruby-hackernews-1.3.1 lib/ruby-hackernews/services/text_service.rb