Sha256: d840636bc50f06db8fda843048a1fb489beb5c838b51e9c229ce44e779e4469b

Contents?: true

Size: 808 Bytes

Versions: 1

Compression:

Stored size: 808 Bytes

Contents

module NativeGap

    class << self
        attr_accessor :configuration
    end

    def self.configure
        self.configuration ||= Configuration.new
        yield configuration
    end

    class Configuration

        attr_accessor :android
        attr_accessor :ios
        attr_accessor :windows
        attr_accessor :chrome
        attr_accessor :android_url
        attr_accessor :ios_url
        attr_accessor :windows_url
        attr_accessor :chrome_url

        def initialize
            @android = true
            @ios = true
            @windows = true
            @chrome = true
            @android_url = 'root_url'
            @ios_url = 'root_url'
            @windows_url = 'root_url'
            @chrome_url = 'root_url'
        end

    end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
nativegap-3.0.0 lib/native_gap/configuration.rb