Module: Neruda::OrgFileHtmlizer

Included in:
OrgFile
Defined in:
lib/neruda/org_file/htmlizer.rb

Overview

This module holds HTML formatter methods for the OrgFile class.

Instance Method Summary collapse

Instance Method Details

#publishBoolean?

Publish the current file

Returns:

  • (Boolean, nil)

    the underlying ~system~ method return value



13
14
15
16
17
# File 'lib/neruda/org_file/htmlizer.rb', line 13

def publish
  Neruda::Emacs.new(
    file_path: @file, verbose: @options[:verbose]
  ).publish
end