Module: MARC::Spec::Queries::Applicable
Overview
Supermodule of query objects that can return a result
Instance Method Summary collapse
Methods included from Part
Instance Method Details
#apply(marc_obj) ⇒ Object
10 11 12 13 14 |
# File 'lib/marc/spec/queries/applicable.rb', line 10 def apply(marc_obj) return [] unless can_apply?(marc_obj) do_apply(marc_obj) end |