Sha256: 2b6c1838969290fb92566a69fc9902cfe80f854630c1e30d8a7292f822664b4f

Contents?: true

Size: 150 Bytes

Versions: 8

Compression:

Stored size: 150 Bytes

Contents

module NokogiriHelper

  def doc(path)
    File.open(path) {|f| Nokogiri::XML(f) }
  end

  def str(path)
    File.open(path) {|f| f.read }
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
litexbrl-0.2.2 spec/support/nokogiri_helper.rb
litexbrl-0.2.1 spec/support/nokogiri_helper.rb
litexbrl-0.2.0 spec/support/nokogiri_helper.rb
litexbrl-0.1.3 spec/support/nokogiri_helper.rb
litexbrl-0.1.2 spec/support/nokogiri_helper.rb
litexbrl-0.1.1 spec/support/nokogiri_helper.rb
litexbrl-0.1.0 spec/support/nokogiri_helper.rb
litexbrl-0.0.3 spec/support/nokogiri_helper.rb