class WpaCliRuby::WpaCli::StatusResponse
Attributes
interface[R]
Public Class Methods
new(iface, items)
click to toggle source
# File lib/wpa_cli_ruby/wpa_cli.rb, line 46 def initialize(iface, items) @interface = iface @items = items end
Public Instance Methods
method_missing(meth, *args, &block)
click to toggle source
Calls superclass method
# File lib/wpa_cli_ruby/wpa_cli.rb, line 51 def method_missing(meth, *args, &block) if not @items[meth.to_s].nil? # run_find_by_method($1, *args, &block) @items[meth.to_s] else super # You *must* call super if you don't handle the # method, otherwise you'll mess up Ruby's method # lookup. end end