Sha256: 61b5adba62805b455b279f96485ae883f57051178fe35b38de41dff5e74f1a99
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 Bytes
Contents
module EacLauncher module Instances class Settings def initialize(data) @data = ActiveSupport::HashWithIndifferentAccess.new(data.is_a?(Hash) ? data : {}) end def git_current_revision @data[__method__] || 'origin/master' end def git_publish_remote @data[__method__] || 'publish' end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
eac_launcher-0.1.7 | lib/eac_launcher/instances/settings.rb |
eac_launcher-0.1.6 | lib/eac_launcher/instances/settings.rb |