decko-commons/decko

View on GitHub
card/mod/core/set_pattern/07_right.rb

Summary

Maintainability
A
0 mins
Test Coverage
@@options = {
  compound_only: true,
  assigns_type: true
}

def label name
  %(All "+#{name}" cards)
end

def short_label name
  %(all "+#{name}s")
end

def generic_label
  "given field cards"
end

def prototype_args anchor
  { name: "*dummy+#{anchor}" }
end

def anchor_name card
  card.name.tag
end