class Octiron::World::TransmogrifyDelegator

Delegator for the transmogrify(FROM).to TO syntax @api private

Public Class Methods

new(from) click to toggle source
# File lib/octiron/world.rb, line 61
def initialize(from)
  @from = from
end

Public Instance Methods

to(to) click to toggle source
# File lib/octiron/world.rb, line 65
def to(to)
  return ::Octiron::World.transmogrifier_registry.transmogrify(@from, to)
end