Module: Bullseye::Helpers::BullseyeControllerHelper

Defined in:
lib/bullseye/helpers/bullseye_controller_helper.rb

Instance Method Summary collapse

Instance Method Details

#bullseye_target(target) ⇒ Object



6
7
8
9
10
11
# File 'lib/bullseye/helpers/bullseye_controller_helper.rb', line 6

def bullseye_target(target)
  part_finder = Bullseye::FindParts::PartFinder.new(target)

  @__bullseye_action = part_finder.actions.first
  @__bullseye_controller = part_finder.controller
end