Sha256: b5e4d99c53782d360f484f9456fa8a881f1ced0cd6fe2a781e94aaa0c90d91a7

Contents?: true

Size: 567 Bytes

Versions: 1

Compression:

Stored size: 567 Bytes

Contents

module Tabs
  module Resolutionable
    extend self

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

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

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

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

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tabs-0.9.1 lib/tabs/resolutionable.rb