4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# File 'lib/generators/devmate_generator.rb', line 4
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
|