Class: Avm::Entries::Base::UriComponentsEntriesValues::PathComponent

Inherits:
GenericComponent
  • Object
show all
Defined in:
lib/avm/entries/base/uri_components_entries_values/path_component.rb

Instance Method Summary collapse

Methods inherited from GenericComponent

#define_auto_method, #define_get_method, #define_get_optional_method, #define_inherited_value_proc_method, #entry_key_path, #id_component, #inherited_value_proc_name

Instance Method Details

#setupObject



11
12
13
14
# File 'lib/avm/entries/base/uri_components_entries_values/path_component.rb', line 11

def setup
  super
  define_inherited_value_proc_method { |value| "#{value}/#{id}" }
end