Sha256: 1d8c94cfb5f714f2bd32c3e10834cb1e04cd5a9f3c9bb689de1f46e012a7a1da
Contents?: true
Size: 335 Bytes
Versions: 1
Compression:
Stored size: 335 Bytes
Contents
module Spotlight class Query attr_reader :query_string attr_accessor :scopes def initialize(query_string) @query_string = query_string @scopes = [] end def execute @md_query = MDQueryNative.new(query_string) @md_query.set_search_scopes(@scopes) @md_query.execute end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
spotlight-0.0.2 | lib/spotlight/query.rb |