module Spinel
Constants
- MAJOR
- MINOR
- PATCH
- VERSION
Public Class Methods
method_missing(method_name, *args, type: :default, &block)
click to toggle source
Calls superclass method
# File lib/spinel.rb, line 18 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
new(type = :default)
click to toggle source
# File lib/spinel.rb, line 14 def self.new type = :default Client.new type end
respond_to?(method_name, include_private = false)
click to toggle source
Calls superclass method
# File lib/spinel.rb, line 23 def self.respond_to?(method_name, include_private = false) new.respond_to?(method_name, include_private) || super end