Class: OAPI::Ref
- Inherits:
-
Object
- Object
- OAPI::Ref
- Defined in:
- lib/oapi/ref.rb
Instance Attribute Summary collapse
-
#ref ⇒ Object
readonly
Returns the value of attribute ref.
Instance Method Summary collapse
-
#initialize(ref) ⇒ Ref
constructor
A new instance of Ref.
Constructor Details
#initialize(ref) ⇒ Ref
Returns a new instance of Ref.
6 |
# File 'lib/oapi/ref.rb', line 6 def initialize(ref) = @ref = ref |
Instance Attribute Details
#ref ⇒ Object (readonly)
Returns the value of attribute ref.
4 5 6 |
# File 'lib/oapi/ref.rb', line 4 def ref @ref end |