Class: GitRaw

Inherits:
Object
  • Object
show all
Defined in:
lib/aa-vimeo-downloader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(url) ⇒ GitRaw

Returns a new instance of GitRaw.



9
10
11
# File 'lib/aa-vimeo-downloader.rb', line 9

def initialize(url)
  @body = open(url).map(&:chomp)
end

Instance Attribute Details

#bodyObject (readonly)

Returns the value of attribute body.



8
9
10
# File 'lib/aa-vimeo-downloader.rb', line 8

def body
  @body
end