Sha256: 18d6b431661c3afbc14457c2e98cbd2d49094552c50dc2898d8343daf1847f24
Contents?: true
Size: 695 Bytes
Versions: 3
Compression:
Stored size: 695 Bytes
Contents
class DevmateGenerator < Rails::Generators::Base desc 'This generator creates an initializer file at config/initializers for devmate' def create_initializer_file create_file 'config/initializers/devmate.rb', "Devmate.setup do |config| # Where would ypu like the notification to appear? # [top, topLeft, topCenter, topRight, centerLeft, center, centerRight, bottomleft, bottomCenter, bottomRight, bottom] config.position = 'topRight' # How long before its dismissed config.timeout = 5000 # Max Visible config.maxVisible = 1 # Call every n seconds config.call_timeout = 8000 # close with config.close_with = 'click' end end " end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
devmate-0.1.2 | lib/generators/devmate_generator.rb |
devmate-0.1.1 | lib/generators/devmate_generator.rb |
devmate-0.1.0 | lib/generators/devmate_generator.rb |