Module: N4j::Relationship::Populate

Extended by:
ActiveSupport::Concern
Defined in:
lib/n4j/populate.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#endObject



15
16
17
18
19
20
21
# File 'lib/n4j/populate.rb', line 15

def end
  if super.kind_of?(String)
    @end = GenericNode.find_by_path(super)
  else
    super
  end
end

#startObject



8
9
10
11
12
13
14
# File 'lib/n4j/populate.rb', line 8

def start
  if super.kind_of?(String)
    @start = GenericNode.find_by_path(super)
  else
    super
  end
end