--- !ruby/object:RI::MethodDescription 
aliases: []

block_params: 
comment: 
- !ruby/struct:SM::Flow::P 
  body: Create a hash with <b>only</b> key/value pairs in receiver and <tt>allowed</tt>
- !ruby/struct:SM::Flow::VERB 
  body: "  { :one =&gt; 1, :two =&gt; 2, :three =&gt; 3 }.only(:one)    #=&gt; { :one =&gt; 1 }\n"
- !ruby/struct:SM::Flow::P 
  body: "@param [Array[String, Symbol]] *allowed The hash keys to include."
- !ruby/struct:SM::Flow::P 
  body: "@return [Hash] A new hash with only the selected keys."
- !ruby/struct:SM::Flow::P 
  body: "@api public"
full_name: Hash#only
is_singleton: false
name: only
params: (*allowed)
visibility: public
