Class: Mattock::YARDExtensions::DefineHandler

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

Instance Method Summary (collapse)

Instance Method Details

- (Boolean) mattock_defining?(obj, method)

Returns:

  • (Boolean)


18
# File 'lib/mattock/yard_extensions.rb', line 18

d

- (Object) process



20
21
22
23
# File 'lib/mattock/yard_extensions.rb', line 20

def process
  return unless mattock_defining?(namespace, statement[0][0])
  namespace[:task_definition] = statement[2]
end