decko-commons/decko

View on GitHub
card/mod/core/set_pattern/09_self.rb

Summary

Maintainability
A
0 mins
Test Coverage
def label name
  %(The card "#{name}")
end

def short_label name
  name
end

def generic_label
  "a single card"
end

def prototype_args anchor
  { name: anchor }
end

def anchor_name card
  card.name
end

def anchor_id card
  card.id
end