Sha256: 13984a9915df01d7805b964a9090c9996c121353b0702e8dcf731117e67c897a
Contents?: true
Size: 376 Bytes
Versions: 8
Compression:
Stored size: 376 Bytes
Contents
require_relative "../base" module Hexx module Generators # Use case scaffolder. class Domain < Base def self.source_root super __FILE__ end def add_spec template "spec.erb", "spec/#{ domain_path }/#{ file_name }_spec.rb" end private def domain_path "domain/#{ gem_name }" end end end end
Version data entries
8 entries across 8 versions & 1 rubygems