Class: Bbs::Downloader::Resource

Inherits:
Object
  • Object
show all
Defined in:
lib/bbiff/bbs_reader.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(data) ⇒ Resource

Returns a new instance of Resource.



50
51
52
# File 'lib/bbiff/bbs_reader.rb', line 50

def initialize(data)
  self.data = data
end

Instance Attribute Details

#dataObject

Returns the value of attribute data.



48
49
50
# File 'lib/bbiff/bbs_reader.rb', line 48

def data
  @data
end