Sha256: 6baa78a063ed732abc6e2addab0318301e5a780661551895ef9b1c24b74bbb9e
Contents?: true
Size: 232 Bytes
Versions: 9
Compression:
Stored size: 232 Bytes
Contents
class Arrthorizer::ContextRoleGenerator < Rails::Generators::NamedBase source_root File.expand_path('../templates', __FILE__) def create_role template "role.rb", "app/roles/#{name}.rb" end hook_for :test_framework end
Version data entries
9 entries across 9 versions & 1 rubygems