Class: ReeMapper::AbstractWrapper

Inherits:
Object
  • Object
show all
Defined in:
lib/ree_lib/packages/ree_mapper/package/ree_mapper/wrappers/abstract_wrapper.rb

Direct Known Subclasses

ReeDao::PgArray, ReeDao::PgJsonb, Array

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(field) ⇒ AbstractWrapper

Returns a new instance of AbstractWrapper.



5
6
7
# File 'lib/ree_lib/packages/ree_mapper/package/ree_mapper/wrappers/abstract_wrapper.rb', line 5

def initialize(field)
  @subject = field
end

Instance Attribute Details

#subjectObject (readonly)

Returns the value of attribute subject.



2
3
4
# File 'lib/ree_lib/packages/ree_mapper/package/ree_mapper/wrappers/abstract_wrapper.rb', line 2

def subject
  @subject
end