Module: Riddler::Includeable
Instance Method Summary collapse
Instance Method Details
#include? ⇒ Boolean
3 4 5 6 |
# File 'lib/riddler/includeable.rb', line 3 def include? return true unless has_include_predicate? Predicator.evaluate include_predicate, context.to_liquid end |
#include_predicate ⇒ Object
8 9 10 |
# File 'lib/riddler/includeable.rb', line 8 def include_predicate definition["include_predicate"] end |