class Diecut::Configurable
Public Instance Methods
walk_path(field_path)
click to toggle source
# File lib/diecut/configurable.rb, line 99 def walk_path(field_path) first, *rest = *field_path segment = InstanceSegment.new(self, first.to_sym) if rest.empty? [segment] else [segment] + segment.value.walk_path(rest) end end