Class: YARD::Handlers::Rake::NamespaceHandler

Inherits:
Base
  • Object
show all
Defined in:
lib/yard-rake.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) process

Main processing callback



34
35
36
37
38
39
# File 'lib/yard-rake.rb', line 34

process do
  name = statement.parameters[0].jump(:ident, :tstring_content).source
  obj = CodeObjects::Rake::NamespaceObject.new(namespace, name)
  register(obj)
  parse_block(statement.last.last, namespace: obj)
end