Class: Pact::Provider::Help::Content
- Inherits:
-
Object
- Object
- Pact::Provider::Help::Content
- Defined in:
- lib/pact/provider/help/content.rb
Instance Method Summary collapse
-
#initialize(pact_sources) ⇒ Content
constructor
A new instance of Content.
- #text ⇒ Object
Constructor Details
#initialize(pact_sources) ⇒ Content
Returns a new instance of Content.
8 9 10 |
# File 'lib/pact/provider/help/content.rb', line 8 def initialize pact_sources @pact_sources = pact_sources end |
Instance Method Details
#text ⇒ Object
12 13 14 |
# File 'lib/pact/provider/help/content.rb', line 12 def text help_text + "\n\n" + pact_diffs end |