Class: Avm::Entries::Base::UriComponentEntryValue::DefaultValue

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/entries/base/uri_component_entry_value/default_value.rb

Instance Method Summary collapse

Instance Method Details

#default_value_method_nameSymbol

Returns:

  • (Symbol)


17
18
19
# File 'lib/avm/entries/base/uri_component_entry_value/default_value.rb', line 17

def default_value_method_name
  component_entry_path.default_method_name
end

#resultObject



21
22
23
# File 'lib/avm/entries/base/uri_component_entry_value/default_value.rb', line 21

def result
  entries_provider.if_respond(default_value_method_name)
end