Mass move to root
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
module ApplicationHelper
|
||||
end
|
||||
|
||||
class Numeric
|
||||
def toSeconds
|
||||
(self / 1000).round
|
||||
end
|
||||
|
||||
def toTime
|
||||
s = self.toSeconds
|
||||
m = (s / 60).floor
|
||||
s -= m * 60
|
||||
m.to_s << ':' << (s < 10 ? '0' : '') << s.to_s
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
module ArtistHelper
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
module MainHelper
|
||||
end
|
||||
@@ -0,0 +1,2 @@
|
||||
module TrackHelper
|
||||
end
|
||||
@@ -0,0 +1,19 @@
|
||||
module Vkontakte
|
||||
@@accounts = YAML.load_file("#{RAILS_ROOT}/config/vk_accounts.yml")
|
||||
|
||||
def get artist, track, length
|
||||
|
||||
end
|
||||
|
||||
def getHtml q
|
||||
|
||||
end
|
||||
|
||||
def parseHtml html
|
||||
|
||||
end
|
||||
|
||||
def calcWeight files
|
||||
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user