lib/wwmd/page/inputs.rb in miketracy-wwmd-0.2.16 vs lib/wwmd/page/inputs.rb in miketracy-wwmd-0.2.17
- old
+ new
@@ -8,10 +8,10 @@
def initialize(*args)
@cobj = args.shift
end
def show
- puts @elems
+ putx @elems
end
# call me from Page.set_data
def set
@elems = [@cobj.search("//input").map,@cobj.search("//select").map].flatten