Sha256: 70ab56b38abde477f13c6cc9c6a905bc4732bc81fadfe59bff3288a3109d7bfa
Contents?: true
Size: 1.81 KB
Versions: 17
Compression:
Stored size: 1.81 KB
Contents
#------------------------------------------------------------------------ # (The MIT License) # # Copyright (c) 2008-2011 Rhomobile, Inc. # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the "Software"), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell # copies of the Software, and to permit persons to whom the Software is # furnished to do so, subject to the following conditions: # # The above copyright notice and this permission notice shall be included in # all copies or substantial portions of the Software. # # THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR # IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, # FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE # AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER # LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN # THE SOFTWARE. # # http://rhomobile.com #------------------------------------------------------------------------ #require 'strscan' #load_assembly 'IronRuby.Libraries', 'IronRuby.StandardLibrary.StringScanner' module System def self.get_locale "en" end def self.zip_file(file_name_zip, file_name) puts 'System.zip_file(' + file_name_zip.to_s + "," + file_name + ")" end def self.get_property(name) return "WP7" if name == "platform" return "7.0" if name == "os_version" return "us" if name == "country" "" end def self.open_url(url) #TODO: open_url end def self.app_installed?(app_name) return false end end
Version data entries
17 entries across 17 versions & 2 rubygems