Module: TabsTabs::Resolutionable::ClassMethods

Defined in:
lib/tabs_tabs/resolutionable.rb

Instance Method Summary collapse

Instance Method Details

#addObject



30
31
32
# File 'lib/tabs_tabs/resolutionable.rb', line 30

def add
  raise "Must implement #to_seconds in the concrete resolution module"
end

#deserializeObject



18
19
20
# File 'lib/tabs_tabs/resolutionable.rb', line 18

def deserialize
  raise "Must implement #deserialize in the concrete resolution module"
end

#from_secondsObject



22
23
24
# File 'lib/tabs_tabs/resolutionable.rb', line 22

def from_seconds
  raise "Must implement #from_seconds in the concrete resolution module"
end

#nameObject



10
11
12
# File 'lib/tabs_tabs/resolutionable.rb', line 10

def name
  raise "Must implement #name in the concrete resolution module"
end

#normalizeObject



34
35
36
# File 'lib/tabs_tabs/resolutionable.rb', line 34

def normalize
  raise "Must implement #normalize in the concrete resolution module"
end

#serializeObject



14
15
16
# File 'lib/tabs_tabs/resolutionable.rb', line 14

def serialize
  raise "Must implement #serialize in the concrete resolution module"
end

#to_secondsObject



26
27
28
# File 'lib/tabs_tabs/resolutionable.rb', line 26

def to_seconds
  raise "Must implement #to_seconds in the concrete resolution module"
end