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
8 9 10 |
# File 'lib/avm/patches/eac_config/entry_path.rb', line 8 def auto_method_name method_name('auto_', '') end |
#default_method_name ⇒ 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_name ⇒ 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_name ⇒ 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_name ⇒ 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 |
#variableize ⇒ String
33 34 35 |
# File 'lib/avm/patches/eac_config/entry_path.rb', line 33 def variableize parts.join('_') end |