Sha256: acd0a59636ae9dbe30e751ddb67415c01ed57ddca0e74b031b45a736ae5b6907

Contents?: true

Size: 284 Bytes

Versions: 5

Compression:

Stored size: 284 Bytes

Contents

module Stack
  class Configuration
    attr_accessor :source, :target
    
    def initialize(hash = nil)
      self.from_hash(hash)
    end
    
    def from_hash(hash)
      if (hash != nil)
        @source = hash[:source]
        @target = hash[:target]
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stack-0.0.6 lib/stack/configuration.rb
stack-0.0.5 lib/stack/configuration.rb
stack-0.0.4 lib/stack/configuration.rb
stack-0.0.3 lib/stack/configuration.rb
stack-0.0.2 lib/stack/configuration.rb