Class: EacConfig::EntryPath
- Inherits:
-
Object
- Object
- EacConfig::EntryPath
- Defined in:
- lib/avm/patches/eac_config/entry_path.rb
Instance Method Summary collapse
- #auto_method_name ⇒ Symbol
- #default_method_name ⇒ Symbol
- #get_method_name ⇒ Symbol
- #get_optional_method_name ⇒ Symbol
- #inherited_block_method_name ⇒ Symbol
- #variableize ⇒ String
Instance Method Details
#auto_method_name ⇒ 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_name ⇒ 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_name ⇒ 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_name ⇒ 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_name ⇒ 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 |
#variableize ⇒ String
31 32 33 |
# File 'lib/avm/patches/eac_config/entry_path.rb', line 31 def variableize parts.join('_') end |