Sha256: f2851005185749c12115aaa5abdd0853bbcc917951017a186f477c63a8ca17ea

Contents?: true

Size: 222 Bytes

Versions: 1

Compression:

Stored size: 222 Bytes

Contents

#!/usr/bin/env ruby

require "sakuru"

db = Sakuru::Database.new

base_dir = File.expand_path("..", File.dirname(__FILE__))
Dir.glob("#{base_dir}/**/*.rb") do |path|
  db.add(path)
end

puts db.files
puts db.search("def")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sakuru-0.0.1 examples/basic.rb