Method: RubyPitaya::Parameters#transform_keys

Defined in:
lib/rubypitaya/core/parameters.rb

#transform_keys(&block) ⇒ Object



233
234
235
236
237
238
# File 'lib/rubypitaya/core/parameters.rb', line 233

def transform_keys(&block)
  return to_enum(:transform_keys) unless block_given?
  new_instance_with_inherited_permitted_status(
    @parameters.transform_keys(&block)
  )
end