Sha256: 21acac3467daa6547f26da07b58edd53751a617bec41155241dfe5cb23379f32

Contents?: true

Size: 231 Bytes

Versions: 4

Compression:

Stored size: 231 Bytes

Contents

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'sq_ruby_grep'

puts SqRubyGrep.run(file_path:'test/fixtures/text.txt', pattern: /needle/, after_lines: 1, before_lines: 2)

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sq_ruby_grep-0.0.7 example.rb
sq_ruby_grep-0.0.6 example.rb
sq_ruby_grep-0.0.5 example.rb
sq_ruby_grep-0.0.4 example.rb