lib/eucalypt/eucalypt-security/namespaces/security-policy/templates/policy.tt in eucalypt-0.1.3 vs lib/eucalypt/eucalypt-security/namespaces/security-policy/templates/policy.tt in eucalypt-0.2.0

- old
+ new

@@ -1,5 +1,5 @@ -class <%= config[:class_name] %> +class <%= config[:class_name] %><%= " < Struct.new(:user, :#{config[:resource]})" if config[:headless] %> attr_reader :user, :<%= config[:resource] %> def initialize(user, <%= config[:resource] %>) @user = user @<%= config[:resource] %> = <%= config[:resource] %> \ No newline at end of file