Module: ZipFips
Constant Summary collapse
- ZIP_MIN =
1000
- VERSION =
"0.2.0"
Instance Method Summary collapse
Instance Method Details
#is_fips? ⇒ Boolean
10 11 12 |
# File 'lib/zipfips.rb', line 10 def is_fips? !!zips_hash[i_s] end |
#is_zip? ⇒ Boolean
6 7 8 |
# File 'lib/zipfips.rb', line 6 def is_zip? !!fips_hash[i_s] && !is_fips? end |
#to_fips ⇒ Object
22 23 24 |
# File 'lib/zipfips.rb', line 22 def to_fips get_fips_from_zip end |
#to_zip ⇒ Object
18 19 20 |
# File 'lib/zipfips.rb', line 18 def to_zip get_zip_from_fips end |
#zipfips ⇒ Object
14 15 16 |
# File 'lib/zipfips.rb', line 14 def zipfips is_zip? ? to_fips : to_zip end |