method

key_value

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Rails::Generators::NamedBase

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v3.2.13) is shown here.

key_value(key, value) protected

Returns Ruby 1.9 style key-value pair if current code is running on Ruby 1.9.x. Returns the old-style (with hash rocket) otherwise.

Show source
Register or log in to add new notes.