lib/hungryform/resolver.rb in hungryform-0.0.1 vs lib/hungryform/resolver.rb in hungryform-0.0.2
- old
+ new
@@ -1,9 +1,9 @@
class HungryForm
# The class is responsible for dependency resolving.
# It contains all form elements and params
class Resolver
- attr_accessor :elements
+ attr_accessor :elements, :params
def initialize(options = {})
@params = options[:params] || {}
@elements = {}
end
\ No newline at end of file