Class: Resource
- Inherits:
-
Object
- Object
- Resource
- Defined in:
- lib/resources.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type) ⇒ Resource
constructor
A new instance of Resource.
Constructor Details
#initialize(type) ⇒ Resource
Returns a new instance of Resource.
58 59 60 |
# File 'lib/resources.rb', line 58 def initialize( type ) @type = type end |
Instance Attribute Details
#type ⇒ Object
Returns the value of attribute type.
55 56 57 |
# File 'lib/resources.rb', line 55 def type @type end |