module Eschaton::StrategicTargets
Constants
- TARGETS
Public Class Methods
random()
click to toggle source
def self.select(target)
if Targets.any? { |i| i.name == target } @target = Targets.find {|x| x.name == target } else puts "\nPlease Enter the name of a Target:\n " end
end
# File lib/eschaton/strategic_targets.rb, line 43 def self.random TARGETS.sample end