method

key_value

Importance_1
v3.2.13 - Show latest stable - 0 notes - Class: Rails::Generators::NamedBase
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.