Make #value on Field readable
This commit is contained in:
parent
2603ad405b
commit
3e70fd24eb
|
@ -20,6 +20,8 @@ module Webrat
|
|||
raise "Invalid field element: #{element.inspect}"
|
||||
end
|
||||
|
||||
attr_reader :value
|
||||
|
||||
def initialize(form, element)
|
||||
@form = form
|
||||
@element = element
|
||||
|
|
Loading…
Reference in New Issue