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}"
|
raise "Invalid field element: #{element.inspect}"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
attr_reader :value
|
||||||
|
|
||||||
def initialize(form, element)
|
def initialize(form, element)
|
||||||
@form = form
|
@form = form
|
||||||
@element = element
|
@element = element
|
||||||
|
|
Loading…
Reference in New Issue