Sha256: 909e19a8263b9a4a17764fc1a62196de3d4f6b9ab33b77e93104fe7b22c64b5d
Contents?: true
Size: 437 Bytes
Versions: 14
Compression:
Stored size: 437 Bytes
Contents
class <%= guard_class_name %>Guard def initialize(guard) #guard.name = "<%= plural_file_name %>" <% if aliases -%> guard.aliases = <%= aliases.inspect %> <% end -%> guard.action_map= { <% case actions when Array for action in actions -%> :<%= action %> => [], <% end when Hash actions.each do |action, groups| -%> :<%= action %> => <%= groups.inspect %>, <% end end -%> } end end
Version data entries
14 entries across 11 versions & 1 rubygems