Method: Satisfactory::Record#which_is

Defined in:
lib/satisfactory/record.rb

#which_is(*traits) ⇒ Object

Apply one or more traits to this record’s build plan.

Parameters:

  • traits (Symbol, ...)

    The traits to apply.

Since:

  • 0.2.0



90
91
92
93
# File 'lib/satisfactory/record.rb', line 90

def which_is(*traits)
  traits.each { |trait| self.traits << trait }
  self
end