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)


8
9
10
# File 'lib/avm/patches/eac_config/entry_path.rb', line 8

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

#default_method_nameSymbol

Returns:

  • (Symbol)


13
14
15
# File 'lib/avm/patches/eac_config/entry_path.rb', line 13

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

#get_method_nameSymbol

Returns:

  • (Symbol)


18
19
20
# File 'lib/avm/patches/eac_config/entry_path.rb', line 18

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

#get_optional_method_nameSymbol

Returns:

  • (Symbol)


23
24
25
# File 'lib/avm/patches/eac_config/entry_path.rb', line 23

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

#inherited_block_method_nameSymbol

Returns:

  • (Symbol)


28
29
30
# File 'lib/avm/patches/eac_config/entry_path.rb', line 28

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

#variableizeString

Returns:

  • (String)


33
34
35
# File 'lib/avm/patches/eac_config/entry_path.rb', line 33

def variableize
  parts.join('_')
end