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.



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

def wrap=(value)
  @wrap = value
end

Instance Method Details

#[](key) ⇒ Object



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

def [](key)
  wrap(super)
end

#firstObject



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

def first
  wrap(super)
end

#to_hObject



23
24
25
# File 'lib/active_graph/core/record.rb', line 23

def to_h
  wrap(super)
end

#valuesObject



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

def values
  wrap(super)
end