Sha256: 1c6df73ef585a0038907c04e00694740c909b1ad416838d91d45e356256ceb98

Contents?: true

Size: 941 Bytes

Versions: 19

Compression:

Stored size: 941 Bytes

Contents

module RubyApp

  module Elements

    module Mobile

      module Platforms

        module Ios
          require 'ruby_app/elements/mobile/document'

          class Document < RubyApp::Elements::Mobile::Document

            template_path(:all, File.dirname(__FILE__))

            def initialize
              super

              self.metadata.merge!('apple-mobile-web-app-capable'          => 'yes',
                                   'apple-mobile-web-app-status-bar-style' => 'black')
              self.links.merge!('apple-touch-icon'          => "#{RubyApp::Application.root_or_nil}/ruby_app/resources/elements/mobile/platforms/ios/document/apple-touch-icon.png",
                                'apple-touch-startup-image' => "#{RubyApp::Application.root_or_nil}/ruby_app/resources/elements/mobile/platforms/ios/document/apple-touch-startup-image.png")

            end

          end

        end

      end

    end

  end

end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
RubyApp-0.7.16 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.7.15 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.7.14 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.7.13 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.7.12 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.7.11 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.7.10 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.7.9 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.7.5 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.7.4 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.7.3 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.7.2 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.7.1 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.7.0 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.6.71 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.6.70 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.6.69 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.6.68 lib/ruby_app/elements/mobile/platforms/ios/document.rb
RubyApp-0.6.67 lib/ruby_app/elements/mobile/platforms/ios/document.rb