Sha256: c3c80749ecddb52184d9668339ea662b0ef57cfe65c7a2171ad4208cba234409

Contents?: true

Size: 276 Bytes

Versions: 1

Compression:

Stored size: 276 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[:value] || ''
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
hungryform-0.0.4 lib/hungryform/elements/html.rb