Module: Hst
- Defined in:
- lib/hst.rb,
lib/hst/version.rb
Defined Under Namespace
Constant Summary collapse
- VERSION =
"0.1.1"
Class Method Summary collapse
Class Method Details
.Format(version) ⇒ Object
4 5 6 7 8 9 10 |
# File 'lib/hst.rb', line 4 def self.Format(version) case version when 400 then [44, 'ID5'] when 401 then [60, 'QD4QIQ'] else raise "Unsupported version #{version}. [400, 401] required." end end |