Method: Grape::Util::BaseInheritable#keys
- Defined in:
- lib/grape/util/base_inheritable.rb
#keys ⇒ Object
27 28 29 30 31 32 33 34 35 36 |
# File 'lib/grape/util/base_inheritable.rb', line 27 def keys if new_values.any? inherited_values.keys.tap do |combined| combined.concat(new_values.keys) combined.uniq! end else inherited_values.keys end end |