Sha256: b525a8dc152b1b6fe91a360f45c19c3d4dc81a7dbc55287c14ee4dea142a8d60
Contents?: true
Size: 337 Bytes
Versions: 1
Compression:
Stored size: 337 Bytes
Contents
module Fable class SearchResult attr_accessor :object, :approximate alias_method :approximate?, :approximate def correct_object if approximate? return nil else return object end end def container return nil if !object.is_a?(Container) return object end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fable-0.5.0 | lib/fable/search_result.rb |