Class: Cfer::Core::Resource::Handle
- Inherits:
-
Object
- Object
- Cfer::Core::Resource::Handle
- Defined in:
- lib/cfer/core/resource.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(name) ⇒ Handle
constructor
A new instance of Handle.
- #method_missing(method) ⇒ Object
- #ref ⇒ Object
Constructor Details
#initialize(name) ⇒ Handle
Returns a new instance of Handle.
7 8 9 |
# File 'lib/cfer/core/resource.rb', line 7 def initialize(name) @name = name.to_s end |
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
6 7 8 |
# File 'lib/cfer/core/resource.rb', line 6 def name @name end |