Class: Nanoc::Core::Filter
- Inherits:
-
Object
- Object
- Nanoc::Core::Filter
- Defined in:
- lib/nanoc-gzip/core_ext/nanoc/core/filter.rb
Class Method Summary collapse
Class Method Details
.from_binary_or_text? ⇒ Boolean
5 6 7 8 |
# File 'lib/nanoc-gzip/core_ext/nanoc/core/filter.rb', line 5 def self.from_binary_or_text? return false unless @from.is_a?(Array) @from.sort == %i[binary text] end |