Method: Inch::API::Get#initialize

Defined in:
lib/inch/api/get.rb

#initialize(codebase, object_names) ⇒ Get

Returns a new instance of Get.



7
8
9
10
11
# File 'lib/inch/api/get.rb', line 7

def initialize(codebase, object_names)
  super(codebase, {})
  @objects = find_objects_with_names(object_names)
  @object = objects.first
end