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.
52 53 54 |
# File 'lib/bbiff/bbs_reader.rb', line 52 def initialize(data) self.data = data end |
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data.
50 51 52 |
# File 'lib/bbiff/bbs_reader.rb', line 50 def data @data end |