Module: Inochi::Manual

Defined in:
lib/inochi/book.rb

Instance Method Summary collapse

Instance Method Details

#historyObject

Contains release notes for all project releases.

Raises:

  • (ArgumentError)


82
83
84
85
86
87
88
89
# File 'lib/inochi/book.rb', line 82

def history
  raise ArgumentError, 'block must be given' unless block_given?

  node do
    $project_history_node = @nodes.last
    yield
  end
end

#projectObject

Defines a brief summary of this project.

Raises:

  • (ArgumentError)


70
71
72
73
74
75
76
77
# File 'lib/inochi/book.rb', line 70

def project
  raise ArgumentError, 'block must be given' unless block_given?

  node do
    $project_summary_node = @nodes.last
    yield
  end
end