Module: Ripper::RubyBuilder::Hash
- Included in:
- Ripper::RubyBuilder
- Defined in:
- lib/ripper/ruby_builder/events/hash.rb
Instance Method Summary collapse
- #on_assoc_new(key, value) ⇒ Object
- #on_assoclist_from_args(args) ⇒ Object
- #on_bare_assoc_hash(assocs) ⇒ Object
- #on_hash(assocs) ⇒ Object
Instance Method Details
#on_assoc_new(key, value) ⇒ Object
18 19 20 |
# File 'lib/ripper/ruby_builder/events/hash.rb', line 18 def on_assoc_new(key, value) Ruby::Assoc.new(key, value, pop_token(:'@=>')) end |
#on_assoclist_from_args(args) ⇒ Object
10 11 12 |
# File 'lib/ripper/ruby_builder/events/hash.rb', line 10 def on_assoclist_from_args(args) args end |