Commit 71cf1803 authored by anonym's avatar anonym
Browse files

Add field setter.

parent b67265c9
......@@ -166,6 +166,10 @@ module Dogtail
run("print(#{build_line}.#{key})").stdout
end
def set_field(key, value)
run("#{build_line}.#{key} = #{self.class.value_to_s(value)}")
end
def proxy_call(method, args)
args_str = self.class.args_to_s(args)
method_call = "#{method.to_s}(#{args_str})"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment