Class: Hubspot::Helpers::Path
- Inherits:
-
Object
- Object
- Hubspot::Helpers::Path
- Defined in:
- lib/hubspot/helpers/path.rb
Instance Method Summary collapse
- #format(module_name) ⇒ Object
- #require_with_codegen_mapping(path) ⇒ Object
- #require_with_mapping(path) ⇒ Object
Instance Method Details
#format(module_name) ⇒ Object
6 7 8 |
# File 'lib/hubspot/helpers/path.rb', line 6 def format(module_name) Hubspot::Helpers::SnakeCase.new.format(module_name.to_s) end |
#require_with_codegen_mapping(path) ⇒ Object
14 15 16 |
# File 'lib/hubspot/helpers/path.rb', line 14 def require_with_codegen_mapping(path) require path end |
#require_with_mapping(path) ⇒ Object
10 11 12 |
# File 'lib/hubspot/helpers/path.rb', line 10 def require_with_mapping(path) require path end |