Sha256: 6993ee6257025d710f0cc3e7cf5daf9f9feb4a132730f50e426b35a57bcd51c0
Contents?: true
Size: 437 Bytes
Versions: 1
Compression:
Stored size: 437 Bytes
Contents
require 'rails/generators/migration' module FxRate module Generators class Base < Rails::Generators::Base include Rails::Generators::Migration def self.source_root @_fx_rate_source_root ||= File.expand_path(File.join(File.dirname(__FILE__), 'fx_lib', generator_name, 'templates')) end def self.next_migration_number(path) Time.now.utc.strftime("%Y%m%d%H%M%S") end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fx_lib-0.0.4 | lib/generators/fx_rate.rb |