lib/alsa_backup.rb in albanpeignier-alsa-backup-0.0.1 vs lib/alsa_backup.rb in albanpeignier-alsa-backup-0.0.3
- old
+ new
@@ -8,11 +8,11 @@
require 'activesupport'
require 'logger'
module AlsaBackup
- VERSION = '0.0.1'
+ VERSION = '0.0.3'
def self.recorder
@recorder ||= AlsaBackup::Recorder.new
end
@@ -31,18 +31,12 @@
def self.logger=(logger); @logger = logger; end
end
-class Time
-
- def floor(attribute, modulo)
- actual = self.send(attribute)
- self.change(attribute => actual - actual%modulo)
- end
-
-end
-
+require 'alsa_backup/core_ext'
+require 'alsa_backup/length_controller'
+require 'alsa_backup/writer'
require 'alsa_backup/recorder'