Sha256: 513ce581bf1d31e35a60d15ffa8846c114a78a19b1bc0566316b319dc7df5f55

Contents?: true

Size: 183 Bytes

Versions: 9

Compression:

Stored size: 183 Bytes

Contents

class <%= name.to_s.camelize %>License < License::Base
  def initialize name
    super
  end
  
  def enforce!
    <%= enforce_logic.strip %>
    <%= license_logic %>    
  end  
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
cancan-permits-0.3.12 lib/generators/cancan/license/templates/license.rb
cancan-permits-0.3.11 lib/generators/cancan/license/templates/license.rb
cancan-permits-0.3.10 lib/generators/cancan/license/templates/license.rb
cancan-permits-0.3.9 lib/generators/cancan/license/templates/license.rb
cancan-permits-0.3.8 lib/generators/cancan/license/templates/license.rb
cancan-permits-0.3.7 lib/generators/cancan/license/templates/license.rb
cancan-permits-0.3.6 lib/generators/cancan/license/templates/license.rb
cancan-permits-0.3.5 lib/generators/cancan/license/templates/license.rb
cancan-permits-0.3.4 lib/generators/cancan/license/templates/license.rb