Method: Content#to_factory

Defined in:
lib/manasimu/card.rb

#to_factoryObject



491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
# File 'lib/manasimu/card.rb', line 491

def to_factory
  <<EOF
factory '#{@name.underscore}_content', class: Content do
  name  {'#{@name}'}
  names  {'#{@names}'}
  number {'#{@number}'}
  side {'#{@side}'}
  set_code { '#{@set_code}'}
  mana_cost { '#{@mana_cost}'}
  type { '#{@type}'}
  types { '#{@types}'}
  text { '#{@text}'}
  color_identity { '#{@color_identity}'}
  converted_mana_cost {#{@converted_mana_cost}}
  converted_mana_cost { #{@multiverseid} }
end
EOF
end