Class: Nanoc::Core::BinaryContent

Inherits:
Content
  • Object
show all
Defined in:
lib/nanoc/core/binary_content.rb

Instance Attribute Summary

Attributes inherited from Content

#filename

Instance Method Summary collapse

Methods inherited from Content

create, #freeze, #initialize, #textual?

Methods included from ContractsSupport

enabled?, included, setup_once, warn_about_performance

Constructor Details

This class inherits a constructor from Nanoc::Core::Content

Instance Method Details

#binary?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/nanoc/core/binary_content.rb', line 7

def binary?
  true
end