module Strategic::ExtraRubyMethods
Attributes
strategy_name[R]
Public Instance Methods
strategy_name=(string)
click to toggle source
# File lib/strategic.rb, line 46 def strategy_name=(string) @strategy_name = string strategy_class = self.class.strategy_class_for(string) @strategy = strategy_class&.new(self) end