Class: Appraisal::Hooks::GemfileContext
- Inherits:
-
Object
- Object
- Appraisal::Hooks::GemfileContext
- Defined in:
- lib/appraisal/hooks.rb
Instance Attribute Summary collapse
-
#appraisal ⇒ Object
readonly
Returns the value of attribute appraisal.
-
#content ⇒ Object
Returns the value of attribute content.
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(appraisal, path, content) ⇒ GemfileContext
constructor
A new instance of GemfileContext.
Constructor Details
#initialize(appraisal, path, content) ⇒ GemfileContext
Returns a new instance of GemfileContext.
14 15 16 17 18 |
# File 'lib/appraisal/hooks.rb', line 14 def initialize(appraisal, path, content) @appraisal = appraisal @path = path @content = content end |
Instance Attribute Details
#appraisal ⇒ Object (readonly)
Returns the value of attribute appraisal.
12 13 14 |
# File 'lib/appraisal/hooks.rb', line 12 def appraisal @appraisal end |
#content ⇒ Object
Returns the value of attribute content.
11 12 13 |
# File 'lib/appraisal/hooks.rb', line 11 def content @content end |
#path ⇒ Object (readonly)
Returns the value of attribute path.
12 13 14 |
# File 'lib/appraisal/hooks.rb', line 12 def path @path end |