Class: Radiation::Resource::Base
- Inherits:
-
Object
- Object
- Radiation::Resource::Base
- Defined in:
- lib/radiation/resource.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#data ⇒ Object
readonly
Returns the value of attribute data.
Instance Method Summary collapse
-
#initialize ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize ⇒ Base
Returns a new instance of Base.
8 9 10 |
# File 'lib/radiation/resource.rb', line 8 def initialize() @data = {} end |
Instance Attribute Details
#data ⇒ Object (readonly)
Returns the value of attribute data.
6 7 8 |
# File 'lib/radiation/resource.rb', line 6 def data @data end |