Class: Bbs::Downloader::Resource
- Inherits:
-
Object
- Object
- Bbs::Downloader::Resource
- Defined in:
- lib/bbiff/bbs_reader.rb
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize(data) ⇒ Resource
constructor
A new instance of Resource.
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
#data ⇒ Object
Returns the value of attribute data.
48 49 50 |
# File 'lib/bbiff/bbs_reader.rb', line 48 def data @data end |