class Dotremap::Remap
Public Class Methods
new(from, to)
click to toggle source
Calls superclass method
Dotremap::Property::new
# File lib/dotremap/remap.rb, line 5 def initialize(from, to) tos = [to].flatten super( "autogen", [ "__KeyToKey__ #{Dotremap::Key.new(from)}", *tos.map { |to| Dotremap::Key.new(to) }, ].join(", "), ) end