Sha256: d29939e9d1b726109f860891a3df34d39dfc9a1f79b0a30cc1e3eb02e8951bd7
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
require 'rails/generators/base' module Transponder module Generators class Base < ::Rails::Generators::Base def self.source_root @_transponder_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'transponder', generator_name, 'templates')) end def self.banner "rails generate transponder:#{generator_name} #{self.arguments.map{ |a| a.usage}.join(' ')} [options]" end private def print_usage self.class.help(Thor::Base.shell.new) exit end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
transponder-0.0.5 | lib/generators/transponder.rb |