Sha256: be7c89d44776f2f316607066d1184eeb23a213b2efe030880ee27fa4207c5c5d

Contents?: true

Size: 283 Bytes

Versions: 1

Compression:

Stored size: 283 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= {
<% for action in actions -%>
      :<%= action %> => [],
<% end -%>
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ixtlan-guard-0.1.0 lib/generators/ixtlan/templates/guard.rb