Module: HasIrregularlyNamedFunctions

Included in:
Sumomo::Stack::APIGenerator, Sumomo::Stack::APIGenerator::CorsInfo
Defined in:
lib/sumomo/irregular.rb

Overview

For functions that do not conform to Ruby’s naming convention of funcs must be snake_case

Instance Method Summary collapse

Instance Method Details

#defi(name, &block) ⇒ Object



6
7
8
# File 'lib/sumomo/irregular.rb', line 6

def defi(name, &block)
  define_method(name, &block)
end