Sha256: f0d87d8d616faa993de720f89add8f351e8145854f05c8ece27c73843d97ee17
Contents?: true
Size: 327 Bytes
Versions: 5
Compression:
Stored size: 327 Bytes
Contents
module J7W1 module Util def normalize_platform(platform) platform = platform.to_s.downcase.to_sym unless platform.is_a? Symbol case platform when :ios, :'iPhone OS', :'iPad OS' :ios else platform end end instance_methods(false).each{|m|module_function m} end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
j7w1-0.0.9 | lib/j7w1/util.rb |
j7w1-0.0.8 | lib/j7w1/util.rb |
j7w1-0.0.7 | lib/j7w1/util.rb |
j7w1-0.0.6 | lib/j7_w1/util.rb |
j7w1-0.0.5 | lib/j7_w1/util.rb |