Class: Jets::Stack::Depends::Item

Inherits:
Object
  • Object
show all
Defined in:
lib/jets/stack/depends/item.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(stack, options = {}) ⇒ Item

Returns a new instance of Item.



4
5
6
7
# File 'lib/jets/stack/depends/item.rb', line 4

def initialize(stack, options={})
  @stack = stack
  @options = options
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



3
4
5
# File 'lib/jets/stack/depends/item.rb', line 3

def options
  @options
end

#stackObject (readonly)

Returns the value of attribute stack.



3
4
5
# File 'lib/jets/stack/depends/item.rb', line 3

def stack
  @stack
end