Module: TabsTabs::Resolutionable::ClassMethods
- Defined in:
- lib/tabs_tabs/resolutionable.rb
Instance Method Summary collapse
- #add ⇒ Object
- #deserialize ⇒ Object
- #from_seconds ⇒ Object
- #name ⇒ Object
- #normalize ⇒ Object
- #serialize ⇒ Object
- #to_seconds ⇒ Object
Instance Method Details
#add ⇒ Object
30 31 32 |
# File 'lib/tabs_tabs/resolutionable.rb', line 30 def add raise "Must implement #to_seconds in the concrete resolution module" end |
#deserialize ⇒ Object
18 19 20 |
# File 'lib/tabs_tabs/resolutionable.rb', line 18 def deserialize raise "Must implement #deserialize in the concrete resolution module" end |
#from_seconds ⇒ Object
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 |
#name ⇒ Object
10 11 12 |
# File 'lib/tabs_tabs/resolutionable.rb', line 10 def name raise "Must implement #name in the concrete resolution module" end |
#normalize ⇒ Object
34 35 36 |
# File 'lib/tabs_tabs/resolutionable.rb', line 34 def normalize raise "Must implement #normalize in the concrete resolution module" end |
#serialize ⇒ Object
14 15 16 |
# File 'lib/tabs_tabs/resolutionable.rb', line 14 def serialize raise "Must implement #serialize in the concrete resolution module" end |
#to_seconds ⇒ Object
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 |