Class: EacConfig::EntryPath

Inherits:
Object
  • Object
show all
Defined in:
lib/avm/patches/eac_config/entry_path.rb

Instance Method Summary collapse

Instance Method Details

#auto_method_nameSymbol

Returns:

  • (Symbol)


6
7
8
# File 'lib/avm/patches/eac_config/entry_path.rb', line 6

def auto_method_name
  method_name('auto_', '')
end

#default_method_nameSymbol

Returns:

  • (Symbol)


11
12
13
# File 'lib/avm/patches/eac_config/entry_path.rb', line 11

def default_method_name
  method_name('', '_default_value')
end

#get_method_nameSymbol

Returns:

  • (Symbol)


16
17
18
# File 'lib/avm/patches/eac_config/entry_path.rb', line 16

def get_method_name # rubocop:disable Naming/AccessorMethodName
  method_name('', '')
end

#get_optional_method_nameSymbol

Returns:

  • (Symbol)


21
22
23
# File 'lib/avm/patches/eac_config/entry_path.rb', line 21

def get_optional_method_name # rubocop:disable Naming/AccessorMethodName
  method_name('', '_optional')
end

#inherited_block_method_nameSymbol

Returns:

  • (Symbol)


26
27
28
# File 'lib/avm/patches/eac_config/entry_path.rb', line 26

def inherited_block_method_name
  method_name('', '_inherited_value_proc')
end

#variableizeString

Returns:

  • (String)


31
32
33
# File 'lib/avm/patches/eac_config/entry_path.rb', line 31

def variableize
  parts.join('_')
end