Method: Spinel.method_missing
- Defined in:
- lib/spinel.rb
.method_missing(method_name, *args, type: :default, &block) ⇒ Object
17 18 19 20 |
# File 'lib/spinel.rb', line 17 def self.method_missing(method_name, *args, type: :default, &block) return super unless new(type).respond_to?(method_name) new(type).send(method_name, *args, &block) end |