Sha256: 0fe63ce41b5ed5e7fd48619180af790f4851858ff1ce052f8da9a36ba8b33612
Contents?: true
Size: 389 Bytes
Versions: 16
Compression:
Stored size: 389 Bytes
Contents
class Rubyfocus::Setting < Rubyfocus::Item include Rubyfocus::Parser def self.matches_node?(node) return (node.name == "xmlns:plist") end attr_accessor :value def apply_xml(n) super(n) conditional_set(:value, n.at_xpath("xmlns:plist").children.first){ |e| Rubyfocus::XMLTranslator.parse(e) } end def inspect form_inspector(:id, :name, :value, :added, :modified) end end
Version data entries
16 entries across 16 versions & 1 rubygems