Sha256: 7d83a2270312c5d179ded476008def2a52ee40511fda407dad4ed288b547b517
Contents?: true
Size: 634 Bytes
Versions: 4
Compression:
Stored size: 634 Bytes
Contents
spec 'Another-Template' do |s| s.block_actions_under_git = true # s.pre_actions = ['echo "Hello klipp!"'] # s.post_actions = ['pod install'] s.token :REPLACEABLE do |t| t.comment = "Replaceable value (to insert in any filename or string containing 'XXREPLACEABLEXX')" t.validation = /^[A-Z][A-Za-z0-9 ]{2,}$/ t.validation_hint = 'At least three characters long, start with a capital character, may contain spaces' end s.token :TOGGLE do |t| t.comment = "Toggle value (to insert in any filename or string containing 'XXTOGGLEXX')" t.type = :bool # t.bool_strings = ['NO','YES'] end # ... end
Version data entries
4 entries across 4 versions & 1 rubygems