class RoadForest::ContentHandling::Wrap::Wrapper

Attributes

handler[R]
type[R]

Public Class Methods

new(type, handler) click to toggle source
# File lib/roadforest/content-handling/handler-wrap.rb, line 5
def initialize(type, handler)
  @type = type
  @handler = handler
end

Public Instance Methods

from_graph(base_uri, network)
Alias for: local_to_network
local_to_network(base_uri, network) click to toggle source
# File lib/roadforest/content-handling/handler-wrap.rb, line 11
def local_to_network(base_uri, network)
  @handler.local_to_network(base_uri, network)
end
Also aliased as: from_graph
network_to_local(base_uri, source) click to toggle source
# File lib/roadforest/content-handling/handler-wrap.rb, line 16
def network_to_local(base_uri, source)
  @handler.network_to_local(base_uri, source)
end
Also aliased as: to_graph
to_graph(base_uri, source)
Alias for: network_to_local