lib/gnawrnip.rb in gnawrnip-0.2.1 vs lib/gnawrnip.rb in gnawrnip-0.2.2
- old
+ new
@@ -6,11 +6,11 @@
module Gnawrnip
class << self
#
# [Integer] Time (millisecond) between each image in animation
#
- attr_accessor :frame_interval
+ attr_accessor :frame_interval_ms
#
# [Boolean] Whether to make animation GIF
#
attr_accessor :make_animation
@@ -57,9 +57,9 @@
end
end
end
Gnawrnip.configure do |c|
- c.frame_interval = 1000
- c.make_animation = true
- c.max_frame_size = nil
+ c.frame_interval_ms = 1000
+ c.make_animation = true
+ c.max_frame_size = nil
end