Sha256: c52201c749fe765346cc4ed43ca8354f0594a1b8cc0f13ce5f7702df20e42aef
Contents?: true
Size: 436 Bytes
Versions: 1
Compression:
Stored size: 436 Bytes
Contents
class Metallize::Form::Field attr_accessor :name, :value, :node, :type def initialize(node, value = node.attribute('value')) @node = node @name = node.attribute('name') @type = node.attribute('type') @value = value end def inspect # :nodoc: "[%s:0x%x type: %s name: %s value: %s]" % [ self.class.name.sub(/Metallize::Form::/, '').downcase, object_id, type, name, value ] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
metallize-0.0.1 | lib/metallize/form/field.rb |