Class: Sparrowhawk::BundlerConfigurationEntry
- Inherits:
-
Object
- Object
- Sparrowhawk::BundlerConfigurationEntry
- Defined in:
- lib/sparrowhawk/bundler_configuration_entry.rb
Instance Attribute Summary collapse
-
#content ⇒ Object
readonly
Returns the value of attribute content.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ BundlerConfigurationEntry
constructor
A new instance of BundlerConfigurationEntry.
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 = {} @name = 'WEB-INF/.bundle/config' @content = config_yaml end |
Instance Attribute Details
#content ⇒ Object (readonly)
Returns the value of attribute content.
5 6 7 |
# File 'lib/sparrowhawk/bundler_configuration_entry.rb', line 5 def content @content end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/sparrowhawk/bundler_configuration_entry.rb', line 4 def name @name end |