Class: Sparrowhawk::BundlerConfigurationEntry

Inherits:
Object
  • Object
show all
Defined in:
lib/sparrowhawk/bundler_configuration_entry.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ BundlerConfigurationEntry

Returns a new instance of BundlerConfigurationEntry.



7
8
9
10
# File 'lib/sparrowhawk/bundler_configuration_entry.rb', line 7

def initialize options = {}
  @name = 'WEB-INF/.bundle/config'
  @content = config_yaml options
end

Instance Attribute Details

#contentObject (readonly)

Returns the value of attribute content.



5
6
7
# File 'lib/sparrowhawk/bundler_configuration_entry.rb', line 5

def content
  @content
end

#nameObject (readonly)

Returns the value of attribute name.



4
5
6
# File 'lib/sparrowhawk/bundler_configuration_entry.rb', line 4

def name
  @name
end