Sha256: e2f6f3bd910b0ecc2244bf46da92ebacdff684bde471bf4e68db7810cb22055c
Contents?: true
Size: 724 Bytes
Versions: 1
Compression:
Stored size: 724 Bytes
Contents
module Tokamak module Representation module Atom class Category < XML def initialize(options_or_obj) if options_or_obj.kind_of?(Hash) @doc = Nokogiri::XML::Document.new() options_or_obj = create_element("category", options_or_obj) end super(options_or_obj) end def term @doc["term"] end def term=(value) @doc["term"] = value end def scheme @doc["scheme"] end def scheme=(value) @doc["scheme"] = value end def label @doc["label"] end def label=(value) @doc["label"] = value end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tokamak-1.0.0.beta2 | lib/tokamak/representation/atom/category.rb |