Module: ActiveGraph::Core::Record

Defined in:
lib/active_graph/core/record.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#wrap=(value) ⇒ Object

Sets the attribute wrap

Parameters:

  • value

    the value to set the attribute wrap to.



4
5
6
# File 'lib/active_graph/core/record.rb', line 4

def wrap=(value)
  @wrap = value
end

Instance Method Details

#[](key) ⇒ Object



14
15
16
# File 'lib/active_graph/core/record.rb', line 14

def [](key)
  wrap(super)
end

#firstObject



10
11
12
# File 'lib/active_graph/core/record.rb', line 10

def first
  wrap(super)
end

#to_hObject



18
19
20
# File 'lib/active_graph/core/record.rb', line 18

def to_h
  wrap(super)
end

#valuesObject



6
7
8
# File 'lib/active_graph/core/record.rb', line 6

def values
  wrap(super)
end