Class: OAPI::Ref

Inherits:
Object
  • Object
show all
Defined in:
lib/oapi/ref.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#refObject (readonly)

Returns the value of attribute ref.



4
5
6
# File 'lib/oapi/ref.rb', line 4

def ref
  @ref
end