Sha256: 0515b7afcef3b3dbac5964801e5276bf6b92a3770d7eb18ae5f480358b35ce5b

Contents?: true

Size: 337 Bytes

Versions: 6

Compression:

Stored size: 337 Bytes

Contents

module EacLauncher
  module Instances
    class Settings
      def initialize(data)
        @data = (data.is_a?(Hash) ? data : {})
      end

      def git_current_revision
        @data['git_current_revision'] || 'origin/master'
      end

      def git_publish_remote
        @data[__METHOD__] || 'publish'
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
eac_launcher-0.1.5 lib/eac_launcher/instances/settings.rb
eac_launcher-0.1.3 lib/eac_launcher/instances/settings.rb
eac_launcher-0.1.4 lib/eac_launcher/instances/settings.rb
eac_launcher-0.1.2 lib/eac_launcher/instances/settings.rb
eac_launcher-0.1.1 lib/eac_launcher/instances/settings.rb
eac_launcher-0.1.0 lib/eac_launcher/instances/settings.rb