Class: Roby::YARD::TaskServiceHandler

Inherits:
YARD::Handlers::Ruby::Base
  • Object
show all
Defined in:
lib/roby/yard.rb

Instance Method Summary collapse

Instance Method Details

#processObject



86
87
88
89
90
91
92
93
94
95
# File 'lib/roby/yard.rb', line 86

def process
    name = statement.parameters[0].jump(:tstring_content, :ident).source

    service_module = YARD::CodeObjects::ModuleObject.new(namespace, name)
    register(service_module)
    if statement.last.last
        parse_block(statement.last.last, namespace: service_module)
    end
    service_module.dynamic = true # rubocop:disable Lint/UselessSetterCall
end