Method: TTK::Strategies::Collection#method_missing
- Defined in:
- lib/ttk/strategies/Collection.rb
#method_missing(key, val = nil, *a) ⇒ Object
:nodoc:
118 119 120 121 122 123 124 125 126 |
# File 'lib/ttk/strategies/Collection.rb', line 118 def method_missing(key, val=nil, *a) # :nodoc: super unless a.empty? key = key.to_s if key =~ /^(.*)=$/ @attributes[$1] = val else @attributes[key] end end |