Method: Inch::CLI::Command::BaseObject#prepare_objects

Defined in:
lib/inch/cli/command/base_object.rb

#prepare_objects(*args) ⇒ void

This method returns an undefined value.

Prepares the given objects, parsing arguments and running the source parser.



21
22
23
24
25
26
27
# File 'lib/inch/cli/command/base_object.rb', line 21

def prepare_objects(*args)
  prepare_codebase(*args)

  context = API::Get.new(codebase, @options.object_names)
  self.objects = context.objects
  self.object = context.object
end