Sha256: 69eea9e795af7f451d467080d1e78325d10830206b21d025144de4ac0c20c2c2
Contents?: true
Size: 1.15 KB
Versions: 5
Compression:
Stored size: 1.15 KB
Contents
$LOAD_PATH.unshift(File.expand_path(File.dirname(__FILE__))) module Jpmobile autoload :Email , 'jpmobile/email' autoload :Emoticon, 'jpmobile/emoticon' autoload :Position, 'jpmobile/position' autoload :RequestWithMobile, 'jpmobile/request_with_mobile' autoload :Util, 'jpmobile/util' module Mobile autoload :Docomo, 'jpmobile/mobile/docomo' autoload :Au, 'jpmobile/mobile/au' autoload :Softbank, 'jpmobile/mobile/softbank' autoload :Vodafone, 'jpmobile/mobile/softbank' autoload :Jphone, 'jpmobile/mobile/softbank' autoload :Emobile, 'jpmobile/mobile/emobile' autoload :Willcom, 'jpmobile/mobile/willcom' autoload :Ddipocket, 'jpmobile/mobile/willcom' def self.carriers @carriers ||= constants end def self.carriers=(ary) @carriers = ary end end end %w( jpmobile/version.rb jpmobile/mobile/abstract_mobile.rb jpmobile/mobile/display.rb ).each do |lib| require File.expand_path(File.join(File.dirname(__FILE__), lib)) end if defined? RAILS_ENV Dir[File.expand_path(File.join(File.dirname(__FILE__), 'jpmobile/*.rb'))].sort.each { |lib| require lib } end
Version data entries
5 entries across 3 versions & 1 rubygems