Sha256: 4daba881a16c7f274a8eb812b2293689946688f63e682de4275f40cf981655bc

Contents?: true

Size: 283 Bytes

Versions: 6

Compression:

Stored size: 283 Bytes

Contents

module HungryForm
  module Elements
    class Html < Base::Element
      attr_accessor :value
      hashable :value

      def initialize(name, parent, resolver, attributes = {}, &block)
        super
        self.value = @attributes.delete(:value) || ''
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
hungryform-0.0.11 lib/hungryform/elements/html.rb
hungryform-0.0.10 lib/hungryform/elements/html.rb
hungryform-0.0.9 lib/hungryform/elements/html.rb
hungryform-0.0.8 lib/hungryform/elements/html.rb
hungryform-0.0.7 lib/hungryform/elements/html.rb
hungryform-0.0.6 lib/hungryform/elements/html.rb