Class: Gf::DiffFetcher
- Inherits:
-
Object
- Object
- Gf::DiffFetcher
- Defined in:
- lib/gf.rb
Instance Attribute Summary collapse
-
#diff_body ⇒ Object
readonly
Returns the value of attribute diff_body.
Instance Method Summary collapse
- #fetch! ⇒ Object
-
#initialize(diff_url) ⇒ DiffFetcher
constructor
A new instance of DiffFetcher.
Constructor Details
#initialize(diff_url) ⇒ DiffFetcher
Returns a new instance of DiffFetcher.
68 69 70 |
# File 'lib/gf.rb', line 68 def initialize(diff_url) @diff_url = diff_url end |
Instance Attribute Details
#diff_body ⇒ Object (readonly)
Returns the value of attribute diff_body.
66 67 68 |
# File 'lib/gf.rb', line 66 def diff_body @diff_body end |
Instance Method Details
#fetch! ⇒ Object
72 73 74 |
# File 'lib/gf.rb', line 72 def fetch! @diff_body = fetch_url(@diff_url) end |